Replaceable parameters are not used in the way you have used them - consider this batch file: @echo off echo %1 %2 %3 %4 %5 %6 %7 %8 %9 Save it as batch1.bat...
I'm storing log information in the files that I later reference in the batch and this batch could be called twice in the same second. Because you can only go...
PID = Process ID It's the unique ID your computer gives to each process you have running. The task manager in NT and 2K shows the PID, but I'm pretty sure it...
Try these 3 variations and see if they help. They should return the current time to the hundredth of a second - partially tested with military time format. ...
The first works great. It'll be perfect. Thanks! The second I got a "< was unexpected at this time". The third I got a "| was unexpected at this time". ... ...
I've just had a thought - you may need to add ... in strategic locations, or it will barf up. Who knows, one day I may upgrade to an NT class OS and be able to...
I'm never one to flog a dead horse <grins> but I think I've worked out a workable syntax for the 3rd option. @echo off for /f "tokens=5,6,7,8 delims=:. " %%a...
Jeff, You might be trying an operation that's not appropriate for batch operation. A custom executable might be more appropriate here. Try this. It uses a...
Michael, I tried what you said to try and I did figure out what that really means. For my homework I wrote three small bat. files and hopefully that is what...
On Thu, 2 May 2002 14:09:07 -0700 (PDT), mandrall stewart ... I'm glad to be of assistance. How about you post your batch files here? You may get some further...
I am in need of a batch file to determine what the drive letter the user is running a powerpoint presentation from, and then uses that drive letter to execute...
Hi Keith, First, it is important to know the OS this will run under. Second, are you trying to run the setup program from the same drive that the PPT file ...
Hi, The OS could vary, I could make a different folder for each OS if nessecary. The powerpoint file would be on the same drive that they are using the...
1904
Yuanzheng@...
May 4, 2002 1:07 am
Hello listers, Can anybody tell me how I could I set the system time through a batch _________ Yuanzheng...
1905
Lamar Morris
LamarMorris@...
May 4, 2002 2:14 am
The following will set time on the system this batch file is run on. This assumes that the system is on a network. NET TIME \\timeserver /SET /Y Lamar ... ...
If what you want is the current drive then perform a cd>%temp%.\temp.txt and parse that for the first character. On Fri, 03 May 2002 22:11:17 -0000,...
1907
Yuanzheng@...
May 4, 2002 3:42 pm
Thanks Lamer, Can you tell me the commend which avails to my Win98-SE. _________ Yuanzheng ...
1908
Lamar Morris
LamarMorris@...
May 4, 2002 10:30 pm
The one below will work, just put the line in a batch file and schedule it or run it. Lamar ... From: Yuanzheng@... [mailto:Yuanzheng@...] ...
Do you want to set the system time to a static time?...
1910
badmofoka
badmofoka@...
May 7, 2002 12:22 am
Hey Guru's... How can I set the users environment variable called path through a login script? I want this to be set automatically every time the user runs...
Hello, I am putting together a small set of tools to be used in our environment for reporting on the status of various files across our network. The method my ...
A Basic solution to split a large file into smaller files - tested with Qbasic. The limit on the number of output files is 9999 '===[start]=== ' filename$ is...
Hi Michael, I feel a bit bad now as I was unable to check my e-mail for most of the day and get your suggestion. Instead, I kept plugging away at it and found...
1915
badmofoka
badmofoka@...
May 9, 2002 2:33 am
Hi All, Can someone direct me to some good information on batch creation and the syntax behind it? JJ...
Hi there.. Anyone know the syntax to use to replace a variable based upon several entries in another file? For instance, my file needs to pump out a registry...