fireking300 Posted June 14, 2008 Share Posted June 14, 2008 Filecopy to @StartupDir? I've been trying to think of a way to file copy to @StartupDir Because the different people might have different start-up directories like on a windows vista or on a windows xp there are different startup directories. If someone could make a short script plz a space to tell what it wants to copy. Link to comment Share on other sites More sharing options...
Kiti Posted June 14, 2008 Share Posted June 14, 2008 Filecopy to @StartupDir? I've been trying to think of a way to file copy to @StartupDir Because the different people might have different start-up directories like on a windows vista or on a windows xp there are different startup directories. If someone could make a short script plz a space to tell what it wants to copy.FileCopy("C:\your path goes here\your file.extension", @StartupDir) Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
fireking300 Posted June 14, 2008 Author Share Posted June 14, 2008 ty Kiti for the help. Link to comment Share on other sites More sharing options...
neo291 Posted June 14, 2008 Share Posted June 14, 2008 (edited) U can put this at the top of ur script. This will put a copy in the "all users" startup at first execution of ur script. If FileExists(@StartupCommonDir &"\"& @ScriptName) Then ;nothin Else FileCopy( @ScriptName, @StartupCommonDir & "\") EndIf Edit : Removed extra code Edited June 14, 2008 by neo291 I'm not a programmer. Just a Power User. Link to comment Share on other sites More sharing options...
yyfy105 Posted July 26, 2008 Share Posted July 26, 2008 Hello, neo291 Thanks for your help. Your answer is fit my question too. :-) U can put this at the top of ur script. This will put a copy in the "all users" startup at first execution of ur script. If FileExists(@StartupCommonDir &"\"& @ScriptName) Then ;nothin Else FileCopy( @ScriptName, @StartupCommonDir & "\") EndIf 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