VBScript for changing folder locations

All of that (but one drive??) can be done via GPO and folder redirection.

Hi,
I am looking to create a script that will change the location of a user's documents folder, pictures, etc. to their OneDrive folders. This will automatically sync their computers files with their MS OneDrive account. Is this possible? It is under the folders properties > location
Thanks,
Chase
This topic first appeared in the Spiceworks Community

Similar Messages

  • How to change folder location for Downloads

    I want this folder to be on a different hard drive... is there a way?

    RC -R
    True, you can copy the download folder's icon by selecting "get info" then clicking the icon, selecting copy, then selecting the target/desired folder for downloads, selecting "get info", clicking once on the icon and selecting paste.
    However, this doesn't get you the uber-cool green download arrow in the sidebar.
    Leopard really should have a preference in System Preferences for a default Downloads folder location...no matter the drive or location. I too prefer my downloads be directed to a different drive and had manually created "downloads" folders in my sidebars in prior versions of the OS.
    As others have commented, the icons in Leopard for the special folders lack differentiation in both color and silhouette/shape, relying on those embossed characters that are a bit too subtle for my tastes...but that's just opinion.
    Similarly, Leopard should introduce default browser and media app selection in preferences instead of requiring the launch of Safari or QuickTime etc.. It's an incredibly poor choice to bury preferences with system wide applicability in proprietary apps.

  • ITunes stuck to ~/Music/iTunes, can't change folder location

    I recently moved all my media files off my local drive and onto a FW-attached RAID device. I changed the iTunes music folder location in Preferences::Advanced to the new location, and BAM, nothing.
    If I delete ~/Music/iTunes and restart itunes, it will RECREATE the old folder, and it won't touch the file modification times of the files in the new folder. So basically, it's completely ignoring the folder location set in preferences, and using the default location instead.
    Bear in mind that iTunes IS REMEMBERING the new folder location, it's just that it doesn't actually use it. In other words I can change it, but it doesn't care.
    Am I screwed? Does Apple DRM prevent me from having my media in a different location than the default?
    Mac Pro   Mac OS X (10.4.9)  

    haploid
    Did you just move the music? Or did you move the library files as well?
    If you moved the library files as well, then hold down the option (or alt) key and launch iTunes, use the Locate command to navigate to the new location.
    Regards
    TD

  • Policy with vbscript to change the location

    I would like to know if its possible to make a script in vbscript inside of a policy of zesm which changes the location of the client after testing any event like reading registry. If it is possible...what object of vbscript i should use to do it? I have read in manuals of zesm some lines of code like Action.WiFiDisabledState, Action.Trace...to manage properties of the policy
    Thanks and regards :)

    rubenruben,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Changing folder locations

    Ok my Mac has two harddrives, a 6 GB for the OS and other system files and apps and a 20 GB for storage. In the finder window I have the Music, Pictures, Movies, etc. shortcuts but they're all set to locations on my 6 GB. Is there a way to change the shortcut locations so that I can have them go to like Music, Pictures, Movies, etc. on my 20 GB?

    I don't know how you can move your root folder (music root, picture root, etc), but you can link the child folders to your bigger drive. For example you can link your iPhoto Library folder under the Pictures folder.
    1. Create a folder on your bigger disk named iPhoto Library
    2. Right click on the folder (or ctrl click using one button mouse) and choose Make Alias
    3. Move the alias to the original Pictures folder and change its name to iPhoto Library
    Ziv

  • Apple deducted Rs.60 for changing Country location for iTunes & App Store Accounts

    Dear Apple product representative,
    I would really appreciate if you could stop being thief and stop deduction money from my account.
    Just tried to Change location on my app store, which was showing NewZeland instead of India and I was not been able to update in apps due to this.
    As per instrustions:
    Instructions
    1
    Tap "Settings" from the main menu of your iOS device.
    2
    Tap "Store."
    3
    Tap "View Apple ID."
    4
    Enter your user name and password.
    5
    Tap the space underneath "Change Country or Region."
    6
    Select the region where you will be located.
    7
    Tap "Done."
    To my show there was a Rs60 Deduction.
    Request you to kindly revert this transaction else I need to knock the doors of consumer court. This is rediculeous. I need my money back.
    Suneer

    Hi Sockatume,
    Few days back I wanted to download BBM for iPhone to which I was diverted to New Zealand App Store automatically.
    So whenever I tried to download apps from the AppStore it said, I wasn't in the region which I should be that is India and being in different region I can't download any app.
    So I followed the instructions as above. After updating the region and the proceeding pages of the instruction. There was a deduction of money.
    I didn't buy any gift card or anything neither I went to that page.
    Suneer

  • Need help changing OneDrive location in Windows 10

    Running build 9879 right clicked on onedrive properties and couldnt find an option for changing the location like in windows 8 i changed the location in the registry but my files still sync to the default location any help would be greatly appreciated. 

    This worked for me:
    Exit OneDrive by right-clicking icon in the tray.
    Delete the OneDrive folder found in your User folder.
    Restart OneDrive.
    It should start with a wizard that gives you an option to change the location of your folder.
    I hope this helps.

  • Remember last folder location lost with Mac Lion updates

    Since Lion or Mountain Lion, we have had an annoying problem where the last folder location is not remembered in Illustrator. For example when updating links on multiple files, would like for the folder location to return to the last one used, but this would go to some folder 3 levels higher/
    Found
    http://www.stclairsoft.com/DefaultFolderX/
    fixes this. But hoping someone else has another solution as having to buy that for each computer would get costly for somethng that used to work. Also the software seems to not have bneen updated in a long time, adn don't wnat a solution that won't last.  Am on 10.8.2.

    how about this Mike, the file opening dialog is handled by the OS, if it still does not remember, I could manually try to code it to stay in a folder.
    select a couple of images before running, to test,
    #target Illustrator
    // script.name = relinkAllSelected_v2.jsx;
    // script.description = relinks each selected placed images one at the time;
    // script.required = select at least one linked image before running;
    // script.parent = CarlosCanto // 7/12/11;  version 2 - 07/25/13
    // script.elegant = false;
    var idoc = app.activeDocument;
    sel = idoc.selection;
    if (sel.length>0)
              for (i=0 ; i<sel.length ; i++ )
                       if (sel[i].typename == "PlacedItem")
                                var iplaced = sel[i];
                                var ifile = iplaced.file;
                                var file = File.openDialog ("Select file to replace " + ifile.name);
                                if (file!=null) // skip if user Cancels
                                    iplaced.file = file;
    else
              alert("select at least one placed item before running");

  • I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,00 songs and They are all in my music folder..What can I do to fix this issue?

    I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,000 songs and They are all in my music folder..What can I do to fix this issue? I've looked at all the tutorials on youtube and none of it works. I recently got a new computer and I Back-Up all my music and itunes playlist and I import it on my new computer with the new itunes and I go to play a few songs, it says I'm missing them I locate a few but it's still like 3,000 missing and again they are all on the computer and in one folder..Please Help !

    I did that and nothing changed half my songs still have examination marks beside them
    I also just tried dragging my folder of music int he playlist and it duplicated all of my songs? My playlist was at 5k now it's at 10k becuz of 3 duplicates of songs. Is there a way to delete multiple duplicate files?

  • HT1364 I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanen

    I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanent?  I have an older machine with Windows XP.

    I don't believe mounting the hard drive should be necessary, unless you have several external drives and want your computer to recognise them as folders, rather than drives. I've never had to mount a hard drive, ever. If you don't know how to do it, then it shouldn't be necessary now.
    Try this:
    Prepare iTunes so that it can see the external drive.
    Make a note of which drive-letter the external drive has been allocated. (Look in Windows Exploer)
    Look at the file location for a song. Make sure it plays (and therefore that iTunes has found it). Highlight it and select File/Get Info/Summary>Where: and make a note of the drive letter for that song.
    Close and shut down the computer.
    The next time you turn the computer on again, connect the external drive
    Before you start iTunes - check the external drive in Windows Explorer. Is it ready, does it have the same drive-letter that it had last time? Can you go into the drive and see the files on it?
    Once you can, start iTunes. (If the drive lettter has changed, you need to work out why before going any further.)
    If iTunes fails to find your external drive, you need to check where iTunes is looking for your Library.
    Select the same song you checked before (presumably iTunes can no longer find it). Follow the procedure for locating it. You should be able to see where iTunes thinks the file is. It's the drive that counts. Which drive letter is iTunes looking at? Is it the same one that it was previously (which should also be the same one that the drive has now).
    What happens, which step do you have problems with?
    Message was edited by: the fiend

  • ITunes Media Folder location can't be changed in Advanced Settings

    I used to keep the iTunes Media Folder on an external hard drive. Now I copied the iTunes folder to the default location on my local hard drive. Once I changed the folder location in the Advanced Settings to the default settings everything worked fine for a week. Suddenly iTunes can no longer find the files unless I connect my old external hard drive. Reveal in Finder shows that iTunes is still looking at the old folder location despite the change to the local hard disk location in Advanced Settings. I tried changing the Advanced Settings folder locations back and forth but iTunes keeps pointing to the old external hard drive. Software Update is up to date. What can I do? Thanks.

    I just looked at the "iTunes Music Library.xml" file with TextEdit. There are references to the external hard drive everywhere. It appears that the path to the iTunes Media folder just does not reflect the location selected in Advanced Settings.

  • I joined iTunes Match on my MBP and added our MBA to the same Match account. What should the iTunes Media Folder Location be for iTunes on the MBA?

    The iTunes libraries on both machines appear to be in sync, though I don't know if Home Sharing or iTunes Match is to thank for the consistency. But the iTunes Media Folder locations are different on the MBP and MBA, and I don't know if they should point to the same storage location (it's been on a drive connected to our Airport for years). I also don't know what options for Copying Files and Keeping iTunes Organized should be on the MBA. I certainly don't want the media files duplicated yet the devices sharing a cloud version.
    I hoped the MBA would act like an iOS device using iTunes Match in that music would stream unless downloaded. Then downloaded music would have to be managed (deleted from the MBA's iTunes) for space reasons at some regular intervals-- just like we now do on the iPhones and iPad. The library entry for the song would remain... just the locally stored file would be deleted and the iCloud download would change back to the download symbol.
    But if a purchase is made from the iTunes store on the MBA, the file is stored on the local MBA machine as well as the external drive because the MBP receives the song via Home Sharing and downloads the file.

    Each iTunes client will expect a discrete iTunes library location.  The iTunes Match service will allow the libraries to be automatically synchronised along with any IOS devices that are also registered for iTunes Match.
    Following making a secure backup for any given library it is possible, once Songs have been 'matched' or 'uploaded' to remove the local copies and play the Songs from the Cloud.  The behaviour on IOS devices is different, they will download each Song as it is played.
    Note:  Apple is very clear that the responsibility for maintaining music files remains with the user - so it remains essential to ensure that you have your own Songs secure backed up prior to relying on the Cloud.  Should there be an issue with the Cloud resulting in loss of Songs you will need your own secure backup.

  • I am trying to move my iphoto and itunes to an external hard drive to free up space on my macbook...i have followed the steps to the change itunes media folder location (chosen external hard drive) but my new folder is greyed out so cant continue ?help?

    I need to free up space on my macbook pro as hard drive is full!! So with 20 000 photos/video clips and itunes I would like to move this to a external hard drive!
    I have followed steps on apple support but when i get to the Change itunes media folder location and chosen external hard drive it will not let me access the new folder option ?? help?

    errrrrrrm!
    Yes external drive shows up in finder on desk top and can change to in the media folder location thing!
    My external hard drive is a WD Elements. I have no idea about permissions to the external? Do i Have to format external hard drive to a mac?
    I am trying to follow the steps on the apple support page to transfer files (consolidate library etc) just cant get further down steps as the new folder option is greyed out!
    Thanks for you help

  • ITunes Music Folder Missing on external hard drive after changing iTunes Media Folder Location from MacBook Hard Drive.  Not deleted...just missing?

    I store my iTunes media folder on my external hard drive and can no longer find it there.  It seemed to becomd lost after I re-designated the default iTunes media location.  I had downloaded some things from iTunes without my external hard drive plugged in and when they downloaded they downloaded to the default location on my Macbook Pro.  In recognizing that, I wanted to move those files from the hard drive on my MacBook Pro to the external hard drive.  When I re-selected the location as the external hard drive a copy process began.  I cancelled the copy process fearing the small number of files from my Macbook Pro would over-write all of the files on my external hard drive so I quit the copy process.  Now I do not see my "iTunes Music" folder on my external hard drive.  I fear that I have somehow lost the path but I believe the content is still on my external hard drive although I no longer see the "iTunes Music" folder on my external hard drive.  I know I didn't delete it, but it isn't there.  Is there a way to make it re-appear?  I would really appreciate any guideance anyone has.
    Thank you.
    Best,
    Matt

    When you change the location in preferences it tells iTunes to start, from this point on, storing new media files in the new location.  It then presents you with the option to move any old files in their current locations to the new location.  It doesn't move the library files which are not media files.  Read the links below to understand how iTunes works because you are the one with the computer in front of you and are in the better position to understand how it stands as regards to iTunes files.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    Now, did you keep the whole library on the external drive, or did you keep just media?  From your description of the situation it sounds as if you kept the whole library there and when the external was not attached it returned to default location on the internal drive.  What you should have done then was plug in the external drive, hold down the option key, and guide iTunes to the library file on the external.  At this stage you could have dealt with the mislocated new files on an individual basis. 
    I guess the key question is, did your trying to move the couple of new media files to the external drive overwrite the iTunes folder there, which because you then canceled may have also just resulted in it being deleted.  I am not going to test the theory on my system.
    How big was your library on the external?  If it was 40GB do you now suddenly have 40 GB free?
    Look for any iTunes folders on the external drive.  In view options turn on "calculate all folders sizes" and see if there are any big ones.

  • Just put my i-tunes library on a 2nd hard drive, how do I easily change the location where the program looks for current songs from the C:/ drive to the new drive without going thru each song individually in the "get info" tab

    I just installed a new hard drive and transfered my i-tunes library to the new drive.  How can I make a bulk change of the location the program looks for the current songs.  I know you can do it song by song from the "get info" tab but I need to do it for all 4500 songs.  I have already changed the location that new files are stored to the new hard drive.

    The pop-up lets you connect to the library file, iTunes Library.itl, on the external drive. This will, in turn, automatically update the preference for the iTunes Media folder to be the iTunes Media or iTunes Music folder inside the iTunes folder on the external drive and it will update the locations of all the content inside the media folder so that it uses the version on the external drive.
    This works seamlessly if all iTunes content was inside the iTunes Media (or iTunes Music) folder (which was itself inside the iTunes library folder) before you moved/copied the iTunes folder. For content outside the iTunes Media folder iTunes should remain connected to the original location. These files should be consolidated (before or after the move/copy) and in addition, if available the library should be upgraded to the newer layout which places iPod Games and Mobile Applications inside the media folder instead of the library folder. (File > Library > Organize Library...)
    For split libraries there are methods to rejoin them before moving (preferred) or repairing after the fact (e.g. my script) which I can go into if needed.
    tt2

Maybe you are looking for

  • Drag&Drop from Lightroom to Premiere doesn't work! Programming an alternative?

    Unfortunally the is no working Drag&Drop ability to drag a videofile from the Lightroom Library into the Premiere Project View. (This Problem appears only on a Windows machine not on Mac) This is becaus if you send a (valid) filepath to "Adobe Premie

  • Error messages appear while booting Satellite A100

    I tried booting my notebook and this error messages are displayed: system bios shadowed, video bios shadowed, resource conflict-PCI serial bus controller on motherboard Bus:07, Device:06, Function 01 resource conflict-PCI mass storage controller on m

  • Mobile Broadband: Verizon, Sprint, Type II PC Slot

    As of today, 9/13/2006, neither Verizon nor Sprint offer a USB based solution for Mobile Broadband. Does anyone know of a company that does? Also, what are the options for people that want Mobile Broadband, but don't have a Type II PC Slot? Thanks! i

  • IBook (FireWire) won't output to TV

    Since my previous topic has already been archived and I still haven't solved the problem, I'm going to ask again. Basically, once I connect the iBook to the TV (a SONY Bravia KDL-32S2400) with the AV cable, nothing happens. The TV doesn't recognize a

  • Wireless printing connection over large network

    I have  computer in a large apt. complex which comes with Wifi, and a single password for everyone in the building. I have a Wireless HP Printer and a Mac OSX.6 .  I want to be able to wirelessly connect the printer to my Mac, but the printer wont ac