Search found 6 matches

by kahlenberg
22 Aug 2016 09:13
Forum: DOS Batch Forum
Topic: Batch script to move files based on filenames
Replies: 6
Views: 8954

Re: Batch script to move files based on filenames

foxidrive wrote:Take out the ECHO keywords and it should work well for you.
If you remove the "*.jpg" and the \.jpg then it should process any file with the correct filename format.


Thanks, it worked!
by kahlenberg
22 Aug 2016 04:01
Forum: DOS Batch Forum
Topic: Batch script to move files based on filenames
Replies: 6
Views: 8954

Re: Batch script to move files based on filenames

Thanks for answers! I love this forum Sorry for inadequate information. There are only two naming schemes, but there are additional file endings, so all file endings are: jpg, amr, mp4, mp3. I mistakenly wrote forward slash. I ment of course a folder 08 inside of another folder 2016, so 2016\08. I r...
by kahlenberg
21 Aug 2016 12:22
Forum: DOS Batch Forum
Topic: Batch script to move files based on filenames
Replies: 6
Views: 8954

Batch script to move files based on filenames

Hi, I have lots of photos and I want to move those photos to year and month folders based on filenames. Some image files have this name syntax: IMG-20160819-WA0016.jpg, I want to move it to a 2016/08, it means only year and month folder, not day folder. If folder doesn't exist it should be created f...
by kahlenberg
28 Jun 2016 01:16
Forum: DOS Batch Forum
Topic: Change IP address for a given MAC address
Replies: 5
Views: 5811

Re: Change IP address for a given MAC address

Thank you! Now it works. OK, I owe 5 dollar :)
by kahlenberg
27 Jun 2016 07:30
Forum: DOS Batch Forum
Topic: Change IP address for a given MAC address
Replies: 5
Views: 5811

Re: Change IP address for a given MAC address

Hi, Thanks for reply. I changed the script a little bit for my purposes, but it doesn't work, it means it is not changing the ip address. If I type the exactly same command in command line, it works, it changes the ip address. I think the script has a syntax error somewhere. This works: D:\Scripts>n...
by kahlenberg
24 Jun 2016 02:22
Forum: DOS Batch Forum
Topic: Change IP address for a given MAC address
Replies: 5
Views: 5811

Change IP address for a given MAC address

Hello, I have seen a lot of batch script that get MAC address or change IP address for a ethernet card. None of them worked for me. I need a batch script that will be able to get MAC addresses and compares MACs with a given MAC as parameter, and find the name of the ethernet card, and then set the I...