mf_2 Posted July 5, 2007 Share Posted July 5, 2007 Hello,I use the following command in a batch file to set up BGInfo:C:\Documents and Settings\All Users\Documents\BGInfo.exe" "C:\Documents and Settings\All Users\Documents\TestClient_BB.bgi" /all /timer:0The message I always get is "cannot find file and.bgi", but why is it looking for a file named like that? Link to comment Share on other sites More sharing options...
uid0 Posted July 5, 2007 Share Posted July 5, 2007 (edited) You're missing a " there.You could try "%ALLUSERSPROFILE%\Documents\TestClient_BB.bgi" /all /timer:0as that has no spaces.Edit: Actually %ALLUSERSPROFILE% wont make any difference Edited July 5, 2007 by uid0 Link to comment Share on other sites More sharing options...
Sinistrality Posted July 5, 2007 Share Posted July 5, 2007 (edited) Typically quotes are only required when you have spaces in the folder names.e.g. "C:\Documents and Settings\All Users\Documents\BGinfo.exe" "C:\Documents and Settings\All Users\Documents\testclient_BB.bgi" /all /timer:0If you use the system variable uid0 used above it should not require quotes:e.g. %ALLUSERSPROFILE%\Documents\BGinfo.exe %ALLUSERSPROFILE%\Documents\testclient_BB.bgi" /all /timer:0or if you were to put the bginfo.exe and testclient_BB.bgi file in c:\windows (where I put mine)e.g. c:\windows\bginfo.exe c:\windows\testclient_BB.bgi /all /timer:0(I don't use the /all switch, not necessary for my purposes as I load it from HKCU/..../run)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"BGInfo"="C:\\Windows\\System32\\bginfo.exe c:\\windows\\system32\\default.bgi /timer:0" Edited July 5, 2007 by Sinistrality 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