Jump to content

Recommended Posts

Posted

I have a batch file that I run once Administrator is logged in that moves a lot of the Start Menu shortcuts from the Administrator profile to the "All Users" profile. When I do this with the batch file and then login as a different user, the shortcuts that were moved are invalid (yet they still work fine as Administrator). If I log back in as Administrator and move the shortcuts back to the Administrator Start Menu using Explorer and then back again to the "All Users" Start Menu using Explorer, they all of a sudden work fine as any user.

My batch file uses commands like this:

MOVE /Y "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk" "%AllUsersProfile%\Start Menu\Programs\Internet Explorer.lnk"

It makes no sense to me that this works fine when using Explorer, but doesn't work when using a batch file.


Posted

Ok, I figured this out. If you COPY the shortcut and delete the original it works fine. For some reason you just can't MOVE the shortcut with a batch file, only with Explorer.

Posted
i've tried moving with the batch and they work just fine.

i moved shortcuts from the start menu onto the desktop :D

Try moving them from the Administrator profile Start Menu onto the All Users profile Desktop with a batch file. Then create a new account and login with that new account and see if any of the links work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...