SOOPAFLY Posted September 20, 2003 Share Posted September 20, 2003 i made this script to move a shortcut but unfortunatly it displays the file not found message althogh the file do exist i think that it have something to do with name length so i need that someone will show me the rules of name lengths dim filesys, demofileset filesys = CreateObject ("Scripting.FileSystemObject")set demofile = filesys.GetFile("%allusersprofile%\Start Menu\Programs\Ahead Nero\Nero - Burning Rom.lnk")demofile.Move ("%appdata%\microsoft\internet explorer\quick launch\") Link to comment Share on other sites More sharing options...
KonuS Posted September 21, 2003 Share Posted September 21, 2003 Check this maybe it will help:http://www.script-info.net/jsvbs/msscript/...ingshortcut.php Link to comment Share on other sites More sharing options...
SOOPAFLY Posted September 21, 2003 Author Share Posted September 21, 2003 thanks but i found the problem - vb can't interpolate environment variables so i switched them for c:\documents and settings\blah blah blah Link to comment Share on other sites More sharing options...
Thanatos Posted September 21, 2003 Share Posted September 21, 2003 Wouldn't it be easier to make the shortcuts and copy them to %userprofile%/Application Data/Microsoft/Internet Explorer/Quick launch during the install? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now