Error while executing (.exe ) from windows command script (.cmd) file?

Could you try shuffling the first two lines in case of CMD, I think its not able to navigate to that directory that we moved with CD.

Up vote 0 down vote favorite share g+ share fb share tw.

I have the following syntax in the . Cmd file, where PathList is console application with . Exe as extension.

Cd D:\Sample D: PathList 2> file. Txt This syntax works fine if the file is saved with . Bat as extension, but if save it with .

Cmd extension it throws error saying 'PathList' is not recognized as an internal or external command, operable program or batch file. Please can I know what is the issue with saving it with . Cmd extension windows windows-7 batch-file cmd link|improve this question asked 2 days agomahesh509215 79% accept rate.

If it's not in your Sample subdir, and not anywhere in your system %PATH%, the error you're getting is normal. – Marc B 2 days ago Thanks for the reply , ya I have my PathList. Exe file in the D:\Sample directory itself, then how come its fine when I save with .

Bat as extension – mahesh 2 days ago.

Could you try shuffling the first two lines in case of CMD, I think its not able to navigate to that directory that we moved with CD try this D: cd D:\Sample PathList 2> file.txt.

This worked fine with following syntax D: cd D:\Debug cmd /c "PathList. Exe" – mahesh 2 days ago.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions