Search found 12 matches
- 07 Oct 2016 01:23
- Forum: DOS Batch Forum
- Topic: How to delete files older than 7 days using a BAT file
- Replies: 6
- Views: 9256
Re: How to delete files older than 7 days using a BAT file
I don't see anything wrong with the command you're using. the issue is its also deleting the file which is only 3 days old. please help me for this. It's been a while. Did you sort this out? Squashman was trying to determine your problem too. Thank you so much to everyone.. its been sorted out... a...
- 04 Oct 2016 00:27
- Forum: DOS Batch Forum
- Topic: How to delete files older than 7 days using a BAT file
- Replies: 6
- Views: 9256
Re: How to delete files older than 7 days using a BAT file
This may seem like a dumb question, but do you have any files in the folder that are not older than 7 days? I don't see anything wrong with the command you're using. Hi ShadowThief, Yeah i have files in the folder that are not older than 7 days, the issue is its also deleting the file which is only...
- 03 Oct 2016 23:21
- Forum: DOS Batch Forum
- Topic: How to delete files older than 7 days using a BAT file
- Replies: 6
- Views: 9256
How to delete files older than 7 days using a BAT file
Hi All, i have to delete files older than 7 days using a BAT file, i have used below command but this command is deleting all files, but i want it should delete files older than 7 days. forfiles /p "C:\Users\YOURUSERNAME\Downloads" /s /m *.* /c "cmd /c Del @path" /d -7 kindly ple...
- 09 Sep 2016 03:50
- Forum: DOS Batch Forum
- Topic: Re :File Transfer
- Replies: 12
- Views: 11870
Re: Re :File Transfer
It depends on what you mean by "remote". If the servers are on your network, then the normal utilities (MOVE, COPY, XCOPY, ROBOCOPY) should work. I think the first three require that you have a drive letter mapped to a share on the remote machine. ROBOCOPY lets you specify a drive letter ...
- 02 Sep 2016 03:44
- Forum: DOS Batch Forum
- Topic: Re :File Transfer
- Replies: 12
- Views: 11870
Re: Re :File Transfer
ShadowThief wrote:Unless the servers already have file transfer software like FTP installed, you can't.
i have installed the FTP, Now please suggest me how can i do now
- 01 Sep 2016 23:17
- Forum: DOS Batch Forum
- Topic: Re :File Transfer
- Replies: 12
- Views: 11870
Re: Re :File Transfer
What makes you think something like this is possible? please sugest me how can i transfer file from one remote server to other if i have username and password My question still stands. Why would this be possible? i dont have idea...i just want to transfer file from one server to other remote server...
- 01 Sep 2016 22:26
- Forum: DOS Batch Forum
- Topic: Re :File Transfer
- Replies: 12
- Views: 11870
Re: Re :File Transfer
ShadowThief wrote:What makes you think something like this is possible?
please sugest me how can i transfer file from one remote server to other if i have username and password
- 01 Sep 2016 21:46
- Forum: DOS Batch Forum
- Topic: Re :File Transfer
- Replies: 12
- Views: 11870
Re :File Transfer
Hi,
i need to transfer file from From one Remote server to other Remote server, and also i dont have admin Access
so please help me how can i do this through Batch script.
Thanks,
Ak
i need to transfer file from From one Remote server to other Remote server, and also i dont have admin Access
so please help me how can i do this through Batch script.
Thanks,
Ak
- 25 Aug 2016 23:47
- Forum: DOS Batch Forum
- Topic: Re:Header and Footer
- Replies: 10
- Views: 8226
Re: Re:Header and Footer
Hi Antonio/Aacini, its really AWESOME.... Now just little more help in this .... *That it should search in folder only those file which has name starting with "zem0c15cst" * And here input and output file will be .dat format and here the Header part will be like HDR|zem0c15cst|002|20160826...
- 25 Aug 2016 11:21
- Forum: DOS Batch Forum
- Topic: Re:Header and Footer
- Replies: 10
- Views: 8226
Re: Re:Header and Footer
Hi Squashman and Foxidrive
i am sorry for inconvenience, i have updated the information
kindly please check and help me for same.
please let me know if you need more clarification.
Thanks,
Abhishek
i am sorry for inconvenience, i have updated the information
kindly please check and help me for same.
please let me know if you need more clarification.
Thanks,
Abhishek
- 25 Aug 2016 05:51
- Forum: DOS Batch Forum
- Topic: Re:Header and Footer
- Replies: 10
- Views: 8226
Re: Re:Header and Footer
Hi i have edited the question kindly please check and help me for same
let me know for any question.
Thanks in Advance
Abhishek
let me know for any question.
Thanks in Advance
Abhishek
- 25 Aug 2016 04:23
- Forum: DOS Batch Forum
- Topic: Re:Header and Footer
- Replies: 10
- Views: 8226
Re:Header and Footer
Hi All, We have the following requirement and we need your expertise on the same… • We need to add Header and Trailer HDR|zem0c15cst|xxx|yyyymmddhhmiss| Here zem0c15cst - File name xxx = cycle number, starts at 001, increments by 1 for every cycle. for ex : if in Folder we have 10 file then for firs...