Hi Experts
I've asked this as the result of a specific suggestion made by our expert leew in another DOS-related question in which I was contributing:
"I don't know if BillDL and I have ...
Hi Experts,
I have multiple files like this :
c:\TEMP\TOUS07.xls
c:\TEMP\TOUS15.xls
I would like to have one command line to move them to the c:\Archives directory and rename them by add...
Hi, is there a way to delete all the contents of a folder through the dos prompt without deleting the actual folder?
Thanks
an example would be great.
Hi,
I'm trying to create a .bat file that shows a progress bar while a command is runing, such as a xopy command, for example. In my code, i'm just pinging the localhost.
What I want is ...
Can you tell which of the file timestamps this is based on? I would like to ensure that these switches use the last accessed date as opposed to the modified or created date. I've searched al...
I have a batch file that opens for me some applications and folders, the thing is I need to insert a delay time from one execution and another; in other words, I want the batch file to open fo...
I have a .cmd file that calls a vbs script:
---------------
test.cmd:
call backupenv.cmd
call "d:\documents\utilities\backup\DAILY PARTIAL BACKUP - DIFFERENTIAL.vbs"
dosdev -r -d ...
Can someone explain how and give an example or two of how tokens work in batch files?
hi,
How can i echo a tab character? I want this for creating a tab-delimited logfile
echo Field1 tab Field2 >> logfile.txt
thanks
Experts
I'm looking to write a simple DOS batch file that performs an action if the workstation name is compliant with a wildcard match.
So:
set my_computer=%COMPUTERNAME%
if "%my_...
I'm currently exporting the value of a registry key into a text file then using the FIND /C command to retrieve the amount of times a certain string appears. This is my code so far:
REG EXP...
I used HP Drive Key Boot Utility to make USB bootable as 98 start up disk.
Problem is only 1.44 mb in size I need to make it bootable least with 250 mb how can I do this please explain.
Hi All,
I'm trying to write a small batch script to collect DFS backlog data and I stumbled upon a small problem with the FOR loop.
The problem is that in the input file (sharenames.txt), ...
Hi experts!
I'm creating a bootable Symantec Ghost disc that needs to house the ghost image file on the DVD. I've got no problems getting the CD to boot and load up Ghost, but I'm having is...
How can I make a DOS bootable DVD, so I can startup the laptop booting it up straight to DVD and image my laptops using Ghost software.
I do not want to use a Floppy disk bootup and recogni...
This is what I have, It filters "All" and "Administrators"
For /f "tokens=1" %%a in (c:\test.txt) do (
If /i "%%a" NEQ "All" (
If /i "%%a" NEQ "Administrator" (
echo %%...
I am having a problem navigating through DOS.
I would like to change to the Directory "Documents and Settings" on my "C" Drive.
Please tell me the command. I have not worked with DOS comman...
I want to get the external Ip address of a computer. The computer has two IP addresses, one on the PPP adapter and one on the local network connection.
I want the one that can be seen from ...
I want to create DOS USB Boot Disk. I tried different methods, everytime when I tried to reboot my pc it gives an error message "Disk I/O error" or "Disk Error".
Does any one know a better wa...
I ran the del command via command prompt by mistake.
del /s /q C\*.*
Is there anyway i can recover these files? My machine is XP enterprise(64 bit version- NTFS )May be Undeleted command wi...
Hello:
I am using the XCOPY command from a DOS session on an XP Pro PC. I need to know if there is any way to display a progress bar while XCOPY does its thing. I guess I am looking for so...
Hi Experts,
Request the .bat file which will do ftp the file from the location , say "C:\temp". If successful ftp , it is ok. if there is any error while doing ftp ,catch the error. If the ft...
Anyone know how to make a message box come up in a batch file?
Please do not respond with net send commands as the messenger service is disabled for a good reason.
TIA,
Yair
hi,
i would like to write a batch file to check if a mapped drive, say G: is still connected(it seems that we have network outage occurring frequently). so if the batch file could check if...
I have a list of windows update I run through a batch file but there are 4 batch files like KB923088 that you have to answer twice before it loads. Is there a switch that I can use in order t...