Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
batch file to execute a windows shortcut
Name: Will Ryan Date: November 18, 2001 at 13:45:19 Pacific
Comment:
I want to create a batch file which executes a windows shortcut. This might sound a bit strange (why dont I just execute the file directly from the batch I hear you say???) The reason is I'm attemting to run the MiniMax webserver which has to be run using a shortcut to tell the server where the webroot directory is. The strange thing, is when I try to execute the shortcut using a batch, it starts the webserver but it doesnt seem to know where the webroot dir is. However, when the shortcut is clicked to execute, this is not a problem. I'm using WinNT 4. Please help.... I'm tearing my hear out.
Name: Bob Date: November 20, 2001 at 07:54:32 Pacific
Reply:
Check the working directory of the batch file. You may find changing this will fix the problem. Not sure if it will or not, but worth messing with (Properties of the batch file itself.)
0
Response Number 2
Name: Justin Date: November 21, 2001 at 21:56:25 Pacific
Reply:
what about taking the command line from the shortcut with the switches and options, etc. and just paste em into your batch file. Other than using autoexec.bat I couldn't figure out
Summary: You can create a logon script or batch file to execute a command on all your work stations. To elaborate on the previous advice, you need to create the batch file and place it in C:\WINNT\System32\Rep...
Summary: Confused yet? I've got an ASP script that needs to be run from the WTS (on a schedule) to purge files greater than 30 days from a series of directories on an IIS/NT Web Server. I've already got the s...
Summary: Hi, can some one please help! How can i get a batch file to run when ever someone logs off a computer. Is this possible? Also how can i get a batchfile to run when the computer is switched off? Th...