Create a folder on the desktop and share with everyone if it does not exist on a Windows 7 PC - No Domain

I have a script that needs to be modified to create a folder on the desktop and share with everyone if it does not exist on a Windows 7 PC - No Domain.  Here is the script, need help at bottom
=======================================================
Set objShell = CreateObject("WScript.Shell")
objComputer=objShell.ExpandEnvironmentStrings("%ComputerName%")
 IF Right(objComputer,3) = "000" Then
Else
 strShortcut = objShell.SpecialFolders( "Desktop" )  & "\%username% Share.lnk"
  strShortcut = objShell.ExpandEnvironmentStrings(strShortcut)
Set objLink = objShell.CreateShortcut( strShortcut )
 objComputer=objShell.ExpandEnvironmentStrings("%ComputerName%")
  objServer=Left(objComputer,7) & "-000"
 objLink.Description = objShell.ExpandEnvironmentStrings("%username% Share")
  objLink.TargetPath = objShell.ExpandEnvironmentStrings("\\" & objServer & "\Users\%username%\Desktop\%username% Share")
  objLink.Save
End If
=======================================================
if "C:\Users\%username%\desktop\%username% Share" exits do nothing
if not create the folder and share it with everyone read only
======================================================
The section directly above is what I need to add, anyone have a clue how to make this work?

Bill:  Can you suggest a site?  I am in the weeds here trying to get this done yesterday.  I have been reading code and trying to figure this out since yesterday morning.  I have to roll out this image to 2 dozen machines and
this is holding us back.  Any idea which site I can post to for help?
The bigger issue is that you have been given the answer to this in many different forms and, because you have no technical background, you fail to see what is being shown to you.  That is why I have repeatedly suggested that you hire a consultant.
The link to the learning material is at the top o this page.  You can also search the web for Windows consultants.
In the learning link you can also look up how to manage files. If, in the beginning you had chosen to use the learning materials you might not be in this bind.
Look up and research the FileSystemObject.
¯\_(ツ)_/¯

Similar Messages

  • I am using an iMac and i am selling it tomorrow. So i am trying to back up all my files on my transcend external HD 500GB. I am not able to create a folder in the transcend and also even if I try to copy a file in the transcend folder. It just wont happen

    I am using an iMac and i am selling it tomorrow. So i am trying to back up all my files on my transcend external HD 500GB. I am not able to create a folder in the transcend and also even if I try to copy a file in the transcend folder. It just wont happen. Please help !!
    My transcend HD is on read only mode I guess. What to do? I dont have a windows computer to check and I need to create the back up right now..

    Welcome to Apple Support Communities
    It looks like the external disk is formatted in NTFS, a format that OS X can't write in. The solution is to format the external drive in "Mac OS Extended (Journaled)" (if you are going to get a Mac), or "MS-DOS (FAT)" (if you are going to get a PC) as Format in Disk Utility > http://pondini.org/OSX/DU1.html
    Then, you will be able to copy the files you need to the external drive. Note that "MS-DOS (FAT)" doesn't support files bigger than 4 GB.
    <Edited By Host>

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • Can't export to thumbdrive.  I have saved to a folder on the desktop, and it still won't work.  Do I need to change a setting?

    Can't export photos to a thumbdrive.  I have saved them to a folder on the desktop, and it still won't work.  Do I need to change a setting?

    I have saved them to a folder on the desktop, and it still won't work.
    What still won't work?  You have the photos in a folder on the Desktop, right?  So what happens when you drag that folder onto the thumbdrive? Many such drives have a slider lock switch.  Make sure it's not in the locked position. 
    Otherwise give us more detailed info on your setup and issue.
    OT

  • When I switch on, the Apple and progress icons appear but it does not start.

    When I switch on, the Apple and progress icons appear but it does not start. I tried resetting PRAM, Utilities, everything. It says the system is OK. I even reinstalled Tiger, but nothing has changed.

    Given that you were able to reinstall the OS, you must be able to boot from the install disc.
    Have you run Apple Hardware Test?
    Tried running on just one RAM module, then switch it to other slot, then repeat with other module?
    Safe Boot?
    Checked SMART status?
    Run Repair Disk:Boot from install disc (insert disc > restart > immediately hold down ckey and keep holding it until you see “Preparing Installation”) > at firstscreen select the language and click Continue > click on the Utilities Menuin the menu bar > open Disk Utility > select your HD in the panel on theleft side> click Repair Disk at bottom of main window. Run this at leasttwice, and keep running it until it says “appears ok” twice in a row. If thatdoesn’t happen, you may need a stronger utility such as DiskWarrior or if thedirectory is damaged beyond repair, you may need to reinstall the OS, or youmay have a damaged HD (repair utilities can only repair the directorystructure, not the HD itself). When this is finished, quit Disk Utility, quitthe installer, and restart. Once booted normally, go to Applications >Utilities > Disk Utility and run Repair Permissions.

  • SP2013: List does not exist / The page you selected contains a list that does not exist. It may have been deleted by another user

    There are dozens of entries regarding "
    List does not exist / The page you selected
    contains a list that does not exist. It may have been deleted by another user" and none of them are really SP 2013 so i thought I would create this entry. 
    I am getting the error above after creating a simple list with 4 columns.  the list is created during a new site definition activation but when I click on my list, I get the error above.  the list works if I deactivate the feature and re-activate
    it.  but has the error whenever the new site definition is created.  
    Has anybody encountered this issue on SP 2013?

    Hi,
    For your issue, there are plenty of possible reasons offered when we search this issue online.
    Here are similar issue posts, check whether they are helpful:
    http://sharepoint.stackexchange.com/questions/98239/list-does-not-exist-error-when-opening-the-views
    http://sharepoint2u.com/?p=56https://shareyourpoint.wordpress.com/2012/04/12/list-does-not-exist-the-page-you-selected-contains-a-list-that-does-not-exist-it-may-have-been-deleted-by-another-user-sharepoint-2010-error/
    http://spnovice.blogspot.com/2012/10/list-does-not-exist-or-does-it.html
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • List does not exist . The page you selected contains a list that does not exists. It may have been deleted by another user

    Hi everybody!
    I have a sharepoint 2013 farm with 5 sever. I upgraded a site from sharepoint 
    2007 to sharepoint 2013. I had some problems to install and configure workflow manager and register it. but by now I found problems and I can create a workflow and run it successfully. My big problem is when I try to get a lookup field in my flow. the
    flow suspended and I got the following error:
    “List does not exist . The page you selected contains a list that does not exists. It may have been deleted by another user.”
    Any solution???
    Thanks in advance!

    Hi,
    Please make sure the source list of the lookup column and the list which consumes the content from the lookup column exists on the site collection.
    In addition, to correct this problem the following steps should be applied:
    Delete the affected Workflow association
    Go to "Central Administration" - "Application Management"
    Select the affected web application and choose "General Settings" - "Resource Throttling"
    Increase the value configured as "List View Lookup Threshold"
    Perform an iisreset to ensure that all in memory instances of the web application settings are gone
    Add the Workflow association back to the list
    More information is here:
    http://social.technet.microsoft.com/Forums/en-US/3aeeba20-07dd-4e46-941b-a3db1bb3577e/sharepoint-2013-designer-workflow-the-page-you-selected-contains-a-list-that-does-not-exist?forum=sharepointcustomization
    Best Regards
    Dennis Guo
    TechNet Community Support

  • HT4907 I am able to connect to my Mac Mini on Back to My Mac through iCloud but the keyboard/trackpad on the MBAir or MBP with which I access does not register on the Mini.  So I can see the screen but cannot interact with it. Mini works accessing MBP/Air

    I am able to connect to my Mac Mini on Back to My Mac through iCloud but the keyboard/trackpad on the MBAir or MBP with which I access does not register on the Mini.  So I can see the screen but cannot interact with it. Mini works accessing MBP/Air and I can use Mini to input data or interact with screens of those computers.

    Regarding your first question about bookmarks, I think you discovered the answer in when you pressed the address bar. The second tab there has your bookmarks.
    As for the keyboard, I'm not sure why your Firefox is reacting so slowly; mine seems to show keyboards even when I don't want them. If you have accumulated a lot of history, perhaps that's an issue?
    Did you use any third party software to move your Firefox data from internal memory to the storage card?

  • Error 'The application id or shortname (-1) you entered does not exist.'

    Hello,
    When I run the OA page it opens without any errors,but I delegate to Other page for insert record it showing following Error
    , Please help me to resolve this error.
    oracle.apps.fnd.framework.OAException: The application id or shortname (-1) you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at OA.jspService(_OA.java:87)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Regards,
    Kapil

    Helllo Friends,
    Issue get resolved. On page, there was one field with Item Style 'MessageLOVInput' and I had not given a source for 'External LOV' to that field.
    Thanks,
    Kapil

  • Help! My photos won't stream to the cloud and share with other devices. ( I've had the photo stream button on all the time I've had the phone.) The only way I can do it is by manually adding them to photo stream and this is very slow/ misses photos..

    Hello,
    I'm very frustrated. I need to delete photos from my iphone to increase the storage so I can update the operating system. Since first using the phone I bought extra iCloud storage and ensured the photo streaming button for the iCloud was turned on.
    Unfortunately it seems to have a mind of its own and will download and share some photos but the majority have not been downloaded.
    I've resorted to manually putting them on photo stream (the one you share with friends) so the photos will be on my iPad. It also takes ages for my iphone to put them on the photo stream. It's downloaded one album x3 ..??!!? I've tried deleting the duplicated photos but it's now frozen on me....
    I haven't dared delete the photos from my camera roll in case I loose them all and I'm therefore stuck in the situation of being unable to download the new operating system or take anymore photos/download music/apps. It *****!
    Please Help!
    Are there any other options for me to be able to  download my photos when I don't have a computer/laptop? Is there a permanent online storage option I can use?
    Thanks
    Becky

    Amazing steps you've done so far! The great news is this is very unlikely an issue with your iPhone.
    I've run into a similar issue lately as well. I narrowed it down to one song that was causing 30 songs not to sync. I removed the song from the sync list (unchecked it) and all 29 songs were able to sync.
    You may be running into a similar issue. This may be a problem with this version of iTunes, an issue with one song or a group of songs; hard to know for sure. It's important to narrow down and isolate the cause. Most imporantly get that music back on there!
    The way to narrow down the casue add just a few songs at a time (even 1, just to get that first sync finished). Manually syncing is what you'll need here.
    Plug in your iPhone, on the Summary screen (shows a picture of your iPhone, the iOS version, Restore iPhone....; etc). Under the Options area at the bottom choose to Manually Manage Videos and Music then choose Apply in the lower right. The music that's on your iPhone now should be removed from your iPhone now. You're now able to sync music manually.
    The link below explains how to drag the songs from the iTunes library on the computer on to your iPhone which will start the sync. Add just one song just to see if you can get 1 of those hundreds of songs on there. If you can, awesome! Keep adding until you find the song or group of songs that are causing this issue.
    http://support.apple.com/kb/HT1535
    Please let me know how things are going.
    Cheers!

  • I keep getting the error message "Restore Windows"  Finder application quit unexpectedly.  When I click an icon on the desktop on my Mac Book Pro it does not respond.

    I keep getting the error message "Restore Windows"  When I click an icon on  the desktop on my Mac Book Pro, it is not reaponding.

    While holding down the option key, select "Go>Library" from the Finder. Navigate to the Preferences folder and you'll find "com.apple.finder.plist". Delete that file and restart.
    Good luck,
    Clinton

  • I have a device that shows up in my airplay device list on my iMac, and my phone.  This device does not exist.  How do I get it out of the list? I would like to drop it before I add new airplay devices to my network.

    I have a device that shows up in my airplay device list in iTunes, and on my iPhone that does not exist.  How do I delete it? I have OS X 10.10.1 on my iMac, and iOS 8.1.2 on my iPhone 5.  I would like to get it out before I add new airplay devices to my network.

    I called Apple tech support.  The device turns out to be a WiFi extender.  I never would have guessed that the extender would show up on the list since I wouldn't think of it as an airplay device, and in the list, it shows a little speaker icon.  In the process of talking with Apple, I gained a greater understanding of how airplay works. 
    It turns out that there is no stored list of devices in a file on the mac, or anywhere else.  I have seen a lot of traffic on the web from people trying to modify this list, but there isn't one.  iTunes, and other devices simply poll the network for airplay devices from time to time.
    Have a very happy holiday!
    I would like to get rid of "just give me the aster, and stop wasting my time", and replace it with my name.  The Apple tech support guy never saw that before.  Just my luck.

  • Create materialized View fails with "table or view does not exist"

    DB: 10.2.0.4
    OS: Win 2003
    Hi,
    Here in my tests, i have 2 databases (A(source) and B(backup)), and i am trying to create an mview in database B to replicate data from one test table from database A, only for test purpose. I'm getting the error "table or view does not exist" when i try to create a mview with REFRESH FAST. Here is my code:
    CREATE MATERIALIZED VIEW TESTES.TAB_TESTES_REPLIC_MVIEW_02
    REFRESH FAST
    START WITH TO_DATE('21/02/2012 18:50:00', 'DD/MM/YYYY HH24:MI:SS')
    NEXT SYSDATE + 1/24/60
    WITH PRIMARY KEY
    AS SELECT REGISTRO1,
    REGISTRO2
    FROM TESTES.TAB_TESTES_REPLIC_MVIEW_02@DB_LINK_ORA10;
    The dblink is workig fine(dblink user has select privilege on TESTES.TAB_TESTES_REPLIC_MVIEW_02), and i have created the mview log on database A.
    Where is my mistake.
    Thanks a lot.
    Edited by: Fabricio_Jorge on 21/02/2012 19:06

    I found the solution.
    I had to grant SELECT on the mview log. The name is avaiable in DBA_MVIEW_LOGS

  • Applications APIs and ORA-00942: table or view does not exist

    As a low privileged user (non apps account), I am attempting to call the hr_employee_api from a wrapper pl/sql block that is owned by the account. I am receiving the "ORA-00942: table or view does not exist" error message. It would seem that the API is executing with invoker's rights. However, the API does not seem to be coded for invoker's rights.

    Never mind, it IS coded for invoker's rights. DUH!

  • After upgrading to version 10.0.2, the pinch and close to change font size does not work

    I'm using Mac OS X version 10.6.8. The pinch and close works with Safari but not Firefox 10.0.2

    Some gestures have been removed in Firefox 4+ versions.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    * browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    * browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    * browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    * browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    * browser.gesture.pinch.latched -> <b>false</b>
    *http://kb.mozillazine.org/about:config
    *https://addons.mozilla.org/firefox/addon/pinchy/

Maybe you are looking for