Computing.Net > Forums > Windows XP > How to set time back 5 minutes in dos?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to set time back 5 minutes in dos?

Reply to Message Icon

Name: limitdos
Date: September 12, 2009 at 19:43:10 Pacific
OS: Windows XP
Subcategory: General
Tags: DOS, batch
Comment:

How can you set th time back 5 minutes in a batch file?

Do you have to grab the time first like
set x = %time%

then subtract it....
x = x-5

then
set time = x

that doesn't seem to work...DOS is confusing me....



Sponsored Link
Ads by Google

Response Number 1
Name: Dumbob
Date: September 12, 2009 at 21:48:48 Pacific
Reply:

Ask this in the Programming Forum.

There is nothing to learn from someone who already agrees with you.


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: How to set time back 5 minutes in dos?

How to set password for Guest User www.computing.net/answers/windows-xp/how-to-set-password-for-guest-user/63263.html

how to Convert NTFS back to Fat32 in XP www.computing.net/answers/windows-xp/how-to-convert-ntfs-back-to-fat32-in-xp/6976.html

how to set e-mails on another compu www.computing.net/answers/windows-xp/how-to-set-emails-on-another-compu/159862.html