Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

/m *.rar /d -2 /c "cmd /c del /q @path" EXPLAIN


  • Please log in to reply
1 reply to this topic

#1 gaz132

gaz132

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Spain-UK
  • Local time:12:12 PM

Posted 14 November 2015 - 10:40 PM

regarding WANSCAM ipcam WJ00011 outdoor ip cameras

video client save recording local path on the computer

 

when recording to the local path I believe that you can delete old videos after a couple of days in the file 

but I am have problems getting this to work with the path /m *.rar /d -2 /c "cmd /c del /q @path" 

 

my original local path was:

 

C:\ipc\RecordFiles

 

and the videos are .mp4

 

So would the path be:

 

C:\ipc\RecordFiles//m *.mp4 /d -2 /c "cmd /c del /q @path" 

 

because this does not work#

 

anyone who knows about wanscam ipcameras or script codes for windows 7 - 64bit os

can you help please


Edited by gaz132, 15 November 2015 - 12:12 PM.


BC AdBot (Login to Remove)

 


#2 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:12 AM

Posted 17 November 2015 - 02:15 AM

Is this what you're looking for?

forfiles /M *.mp4 /P C:\ipc\RecordFiles /S /D -2 /C "cmd /C del /F /Q @path"

Edited by technonymous, 17 November 2015 - 02:17 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users