Sorry
I understand what you mean now.
Can I exclude these?
Search found 4 matches
- 07 May 2019 14:42
- Forum: DOS Batch Forum
- Topic: Dir with wildcard returning unexpected result
- Replies: 4
- Views: 5781
- 03 May 2019 04:52
- Forum: DOS Batch Forum
- Topic: Dir with wildcard returning unexpected result
- Replies: 4
- Views: 5781
Re: Dir with wildcard returning unexpected result
I'm not using the short name format.
I tried with the /X and i still get filenames I dont want
I tried with the /X and i still get filenames I dont want
- 02 May 2019 15:54
- Forum: DOS Batch Forum
- Topic: Ipconfig doesn't work inside a bat file
- Replies: 18
- Views: 23130
Re: Ipconfig doesn't work inside a bat file
Did you try running them both from an elevated command prompt
- 02 May 2019 15:23
- Forum: DOS Batch Forum
- Topic: Dir with wildcard returning unexpected result
- Replies: 4
- Views: 5781
Dir with wildcard returning unexpected result
Hi there,
I have a lot of files in a folder
I run the following to get a subset
dir /b pa1*.txt
I would expect this to bring back only files like
pa1.txt
pa11.txt etc
However it also brings back files like
pay1.txt
Any reason for this does any one know
I have a lot of files in a folder
I run the following to get a subset
dir /b pa1*.txt
I would expect this to bring back only files like
pa1.txt
pa11.txt etc
However it also brings back files like
pay1.txt
Any reason for this does any one know