Tzar Posted November 9, 2006 Share Posted November 9, 2006 So im makeing a file in batch that if needed will add itself to the allusers startup folder. However it seems that i cannot get the spaces in to the adress of the folder. Iv tryed all i can think of even %20. Anyone willing to lend a hand? Quote Link to comment Share on other sites More sharing options...
burn Posted November 9, 2006 Share Posted November 9, 2006 You probably tried this first, but I'm going to ask anyway ... Have you tried putting quotes around the directory? For example: "C:Documents and SettingsAll UsersStart MenuProgramsStartupprogram.bat" Quote Link to comment Share on other sites More sharing options...
Tzar Posted November 9, 2006 Author Share Posted November 9, 2006 Yea ok so im an idiot, its been a long day... anyways thanks for the help :cry: Quote Link to comment Share on other sites More sharing options...
GaugeTyson Posted November 12, 2006 Share Posted November 12, 2006 I have had success with this method as well: Adding the carrot before the space i.e. C:Program^ Files Quote Link to comment Share on other sites More sharing options...
cooper Posted November 12, 2006 Share Posted November 12, 2006 Adding the carrot before the space Excuse me for being anal, but I believe this forum is here partly to educate people. The thing's called a 'caret'. Quote Link to comment Share on other sites More sharing options...
moonlit Posted November 12, 2006 Share Posted November 12, 2006 rofl... a carrot? :D Quote Link to comment Share on other sites More sharing options...
manuel Posted November 12, 2006 Share Posted November 12, 2006 rofl... a carrot? :D or you can always enclose it with quotes: "c:program filespath torealprogram hereexecutable.exe" Quote Link to comment Share on other sites More sharing options...
CaveMan Posted November 12, 2006 Share Posted November 12, 2006 i want a carrot Quote Link to comment Share on other sites More sharing options...
moonlit Posted November 12, 2006 Share Posted November 12, 2006 I know someone who calls herself carrot :) Quote Link to comment Share on other sites More sharing options...
burn Posted November 15, 2006 Share Posted November 15, 2006 You probably tried this first, but I'm going to ask anyway ...Have you tried putting quotes around the directory? For example: "C:Documents and SettingsAll UsersStart MenuProgramsStartupprogram.bat" or you can always enclose it with quotes:"c:program filespath torealprogram hereexecutable.exe" haha, beat ya! :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.