Link to home
Start Free TrialLog in
Avatar of yavooza
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
ASKER CERTIFIED SOLUTION
Avatar of Sargon666777
Sargon666777

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yavooza
yavooza

ASKER

The last line is not working
The docuaments are not getting cleard
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\*.*
one last note... if you dont want del to prompt you change to
del /q C:\documents and settings\(profile name)\recent\*.*
Avatar of yavooza

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).  
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial