Search found 5 matches

by themathprof
26 Aug 2012 18:42
Forum: DOS Batch Forum
Topic: How Can I Trap an error?
Replies: 11
Views: 6693

Re: How Can I Trap an error?

Squashman,

Your code works!

Brilliant.

Thank you much.

Themathprof.
by themathprof
26 Aug 2012 09:10
Forum: DOS Batch Forum
Topic: How Can I Trap an error?
Replies: 11
Views: 6693

Re: How Can I Trap an error?

Thanks for your quick reply.

I'll be using various OS not just xp.

I really do not understand your tip.

Are you saying that there is no code (switch?) that I can add to that
will ignore the error and continue executing without the popup message?
by themathprof
26 Aug 2012 06:48
Forum: DOS Batch Forum
Topic: How Can I Trap an error?
Replies: 11
Views: 6693

How Can I Trap an error?

This code is to locate a usb drive that has the program math911.exe. It works fine and locates the usb at drive I: However, just before the echo statement it shows an error message in a pop up window that says: There is no disk in the drive. Please insert a disk into drive \Device\Harddisk1\DR1 When...
by themathprof
20 Feb 2011 14:10
Forum: DOS Batch Forum
Topic: Save, Change then Rest Date to Saved Date
Replies: 2
Views: 3141

Re: Save, Change then Rest Date to Saved Date

Thank you.
Your code worked great.
theMathProf
by themathprof
20 Feb 2011 12:45
Forum: DOS Batch Forum
Topic: Save, Change then Rest Date to Saved Date
Replies: 2
Views: 3141

Save, Change then Rest Date to Saved Date

The last line does not save the date. Can someone help? I save date (after truncating the weekday) Then Change Date Finally, I want to reset date to original. Thanks. Cd C:\Program Files\Microsoft Office\Office12\ set currentsysdate=%date:~-10% Date = 02-02-11 Start /max /wait WINWORD.EXE Set Date =...