Put an "@Echo Off" as the first line of the script. That way the only thing you will see is the "Echo" statement as it happens.
-R
Search found 80 matches
- 02 Mar 2009 13:27
- Forum: DOS Batch Forum
- Topic: Copy multiple files to different directorys
- Replies: 7
- Views: 8645
- 02 Mar 2009 09:24
- Forum: DOS Batch Forum
- Topic: Copy multiple files to different directorys
- Replies: 7
- Views: 8645
- 02 Mar 2009 07:23
- Forum: DOS Batch Forum
- Topic: Copy multiple files to different directorys
- Replies: 7
- Views: 8645
- 28 Feb 2009 22:07
- Forum: DOS Batch Forum
- Topic: block character renders my batch files useless
- Replies: 1
- Views: 3862
- 24 Feb 2009 15:57
- Forum: DOS Batch Forum
- Topic: .Bat file to kill processes upon confirmation
- Replies: 4
- Views: 7004
- 24 Feb 2009 12:33
- Forum: DOS Batch Forum
- Topic: How to format time?
- Replies: 1
- Views: 8749
- 23 Feb 2009 10:51
- Forum: DOS Batch Forum
- Topic: Batch File Help Need: Zip all files before the current date.
- Replies: 2
- Views: 5115
- 23 Feb 2009 10:38
- Forum: DOS Batch Forum
- Topic: need help triming data out of a file
- Replies: 1
- Views: 4313
The only way I can see doing this is that during your capture of the data, you associate the LUN# with the associated lines, as in: LOGICAL UNIT NUMBER 1563 LOGICAL UNIT NUMBER 1563 ~Default Owner: SP B LOGICAL UNIT NUMBER 1563 ~Current Owner: SP A LOGICAL UNIT NUMBER 1563 ~Device Map: Valid Then yo...
- 23 Feb 2009 10:29
- Forum: DOS Batch Forum
- Topic: Automating FTP.
- Replies: 2
- Views: 5020
You could start with something like... Cls Set /P User=Enter UserID: Set /P Pwd=Enter Password: Echo Open xx.xx.xx.xx > %Temp%\FTPScript Echo User %User% %Pwd% >> %Temp%\FTPScript Echo CD \DestFolder >> %Temp%\FTPScript Echo LCD \SourceFolder >> %Temp%\FTPScript :GetAnotherFile Set /P SName=Enter SO...
- 20 Feb 2009 13:40
- Forum: DOS Batch Forum
- Topic: FOR /R exclude ".svn" directory
- Replies: 2
- Views: 6158
Try this:
hth
-Rick
Code: Select all
Dir * /aD/b/s | Find /V ".SVN" > %Temp%\NewList
For /F "Delims=" %%F In (%Temp%\NewList) Do (
Echo File Name is : %%~nxF
)
hth
-Rick
- 20 Feb 2009 08:22
- Forum: DOS Batch Forum
- Topic: Retrieving filenames and inputting into another bat file?
- Replies: 3
- Views: 5935
- 20 Feb 2009 08:09
- Forum: DOS Batch Forum
- Topic: assign result of findstr to variable
- Replies: 2
- Views: 8202
- 18 Feb 2009 08:58
- Forum: DOS Batch Forum
- Topic: Help with Exception List
- Replies: 1
- Views: 3702
- 18 Feb 2009 08:47
- Forum: DOS Batch Forum
- Topic: Some MS-DOS Progs not working after hd put in new Compu
- Replies: 3
- Views: 5968
- 11 Feb 2009 15:17
- Forum: DOS Batch Forum
- Topic: Help with Exception List
- Replies: 1
- Views: 3702
Help with Exception List
I'm trying to secure delete files from a hard drive. I have the following but, I can't seem to find the glitch. The issue seems to be that the *SkipPath* variable isn't flagging properly coming out of the ExceptPath routine so that the RemoveFile routine knows whether to skip removing the file based...