New
#1
Dir CMD not reading as it did
Hey there,
Im having problems running a programically generated BAT file that used to work fine on the VISTA platform. The command I am running is:
"Dir E:\VB Project\SearchForFiles /S/B | FindStr /L/I /C:"form" > D:\Search.Txt"
(NB Below)
This as I say worked fine under VISTA.
Under WINDOWS 7 I get the following error:
"The system cannot find the file specified.
FINDSTR: // ignored"
If I run the command: "Dir E: /S" I will get a complete listing for all files and directories as one would expect....including the directory VB Project
If I run the command "Dir E:\VB Project /S" I get the error (After the system thinks about it): "File not found"
I have attached a scren shot of the errors.
I am at a loss as to why it behaves this way.
Thanks
NB The VB app generates the BAT file based on selected data from within a Miscrosoft Common Dialog control.