Jump to content

Windows Script meeda help kavali


jefferson1

Recommended Posts

8 minutes ago, ShruteSastry said:

look at robocopy commands bro, play with them a little. You can get it. Use the below for reference.

https://superuser.com/questions/877976/windows-command-line-to-move-files-over-a-certain-size

idi batch file lo pettali, how?

for /r "sourcePath" %F in (*) do @if %~zF geq 1000 move "%F" "destinationPath"

also source and destination both are in servers(network)


 

 

Link to comment
Share on other sites

4 minutes ago, jefferson1 said:

idi batch file lo pettali, how?

for /r "sourcePath" %F in (*) do @if %~zF geq 1000 move "%F" "destinationPath"

also source and destination both are in servers(network)



 

 

use double %% in the batch file with the same command. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...