Sorry for my mistake and thanks for the reply. now i got output in desktop as file.
Quick questions:
Can i get the output file created in same directory instead of desktop?
can i get only the file name. not all the path to be outputted. any modification on the code? please
Search found 51 matches
- 18 Nov 2014 06:37
- Forum: DOS Batch Forum
- Topic: Need help on Getting File name
- Replies: 15
- Views: 8646
- 18 Nov 2014 06:14
- Forum: DOS Batch Forum
- Topic: Need help on Getting File name
- Replies: 15
- Views: 8646
Re: Need help on Getting File name
Hi Foxidrive, Thanks for the reply and not sure am i missing something. Thanks for the reply I copied your code and saved it as CreateFile.bat. Also i wiped off everything in my folder and created new sub folders and each sub folder has one .sql file. Then i executed the batch file created. It shows...
- 17 Nov 2014 09:30
- Forum: DOS Batch Forum
- Topic: Need help on Getting File name
- Replies: 15
- Views: 8646
Re: Need help on Getting File name
hi Foxidrive, thanks for your time on this post and i copied your code and made it as .bat file. when i execute the file it shows the below line on cmd checks for creation and modified dates and creates list.txt with filenames that are later than the date given as %1 in YYYYMMDD format example: &quo...
- 17 Nov 2014 06:23
- Forum: DOS Batch Forum
- Topic: Need help on Getting File name
- Replies: 15
- Views: 8646
Re: Need help on Getting File name
OS: windows7 64 bit and it's local drive
thanks
thanks
- 17 Nov 2014 05:50
- Forum: DOS Batch Forum
- Topic: Need help on Getting File name
- Replies: 15
- Views: 8646
Re: Need help on Getting File name
Hi, thanks for your reply. I need to consider the both. If any file modified/Created on or after the date specified. I need to get the file name and export those names in separate text file.
Any help please. Any sample script please
Any help please. Any sample script please
- 16 Nov 2014 20:34
- Forum: DOS Batch Forum
- Topic: Need help on Getting File name
- Replies: 15
- Views: 8646
Need help on Getting File name
Hi, Below is my folder path, D:/Sample I have .sql files in that folder and i need to get the file names based on modified/created date i pass. for ex : i need to get the file names created/modified on or after 10/01/2014(mm/dd/yyyy). Can any please give me some sample script to make this as batch. ...