Search found 4 matches

by varianjv
07 May 2019 14:42
Forum: DOS Batch Forum
Topic: Dir with wildcard returning unexpected result
Replies: 4
Views: 993

Re: Dir with wildcard returning unexpected result

Sorry
I understand what you mean now.
Can I exclude these?
by varianjv
03 May 2019 04:52
Forum: DOS Batch Forum
Topic: Dir with wildcard returning unexpected result
Replies: 4
Views: 993

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
by varianjv
02 May 2019 15:54
Forum: DOS Batch Forum
Topic: Ipconfig doesn't work inside a bat file
Replies: 18
Views: 2192

Re: Ipconfig doesn't work inside a bat file

Did you try running them both from an elevated command prompt
by varianjv
02 May 2019 15:23
Forum: DOS Batch Forum
Topic: Dir with wildcard returning unexpected result
Replies: 4
Views: 993

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