I am using a batch file in windows xp.
I am trying to create a continuous string with date and time stamp in it. I can do it with the following command:
set archivestamp=%DATE:~10,4%%DATE:~4,2%%...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_23511922.htm...
How can I know what is the current directory in a batch file ?
note: Using the dot is not enough, I need the full path of the current directory.
http://www.experts-exchange.com/Hardware/Misc/Q_10124120.html
Zones:
HardwareDate Answered: 07/01/1999 Rating: 5.8 Views: 0
I need a way to process every line in a text file using a DOS BATCH file. An ~ equivalent in unix would be :
for j in `cat file.x`
do
echo $j
done
How would I achieve the same under DOS...
http://www.experts-exchange.com/Programming/Misc/Q_10336457.html
I still utilize batch files once in awhile for routine tasks like copying files.
One area of commands I need to find out about is when I set up a batch file to copy a file from a diskette to har...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_20084054.html
Zones:
MS DOSDate Answered: 06/07/2001 Rating: 7.4 Views: 0
I need to create a batch file that does the following:
If C:\windows\system\hosts exists then
echo xxx.xxx.xxx.x www.site.com >> C:\Windows\System\hosts
else
create C:\windows\system\host...
http://www.experts-exchange.com/Programming/Misc/Q_20126995.html
Help, I want to write a batch file which will reverse some text.... can this sort of string handling be done in DOS batch files? if not then can you maybe point me to a program that will do it? I`d...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_20167256.html
Zones:
MS DOSDate Answered: 09/18/2001 Rating: 6.8 Views: 0
Our users log on to our Windows NT domain whenever they begin using a Windows 95/98/NT or 2000 computer. Normally our logon script, running on the PDC, maps certain drives to shares on our NT serve...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/98/Q_20276593.html
Zones:
Windows 98Date Answered: 03/19/2002 Rating: 6.2 Views: 0
How do I write a batch file to create severaal consequetive directories e.g directory list I would like to create april_1 to april_30
My O/S is ME
Thanks
Merlin007
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_20292653.html
Zones:
MS DOSDate Answered: 04/23/2002 Rating: 8.2 Views: 0
Evening
I need a batch file that takes a text file as input (containing flat file records) and appends to a named second file (say REPORT.LOG) a line count and the current date and time.
E.g....
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_20314384.html
Zones:
MS DOSDate Answered: 06/25/2002 Rating: 8.4 Views: 0
I am needing a dos batch file that will run on windows NT and also on XP that will take a file called test.txt (for example) and rename it with the current date.txt (ex 010103.txt)
Then for an ...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_20457931.html
Zones:
MS DOSDate Answered: 06/21/2003 Rating: 9.2 Views: 0