yavooza
asked on
Batch file to ping the network
Can any one help me to make a batch file to ping the network and also to clear the documents in MY Documenst.
Please be as easy as possible
Please be as easy as possible
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It sounds like you meant to clear recent documents... not my documents if that is the case change the last line to
del C:\documents and settings\(profile name)\recent\*.*
del C:\documents and settings\(profile name)\recent\*.*
one last note... if you dont want del to prompt you change to
del /q C:\documents and settings\(profile name)\recent\*.*
del /q C:\documents and settings\(profile name)\recent\*.*
ASKER
I meant about the documenst in the recent folder . How to delete them with the batch file.
yeah the command I just gave you will do so... so your total batch file would be
@ECHO OFF
PING (insert ip here)
del /q C:\documents and settings\(profile name)\recent\*.*
you can obmit the /q if you wish, and dont forget to replace the ip, and put your profile name in place of (profile name).
@ECHO OFF
PING (insert ip here)
del /q C:\documents and settings\(profile name)\recent\*.*
you can obmit the /q if you wish, and dont forget to replace the ip, and put your profile name in place of (profile name).
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The docuaments are not getting cleard