Computer Hope
Microsoft => Microsoft Windows => Windows 10 and 11 => Topic started by: bahjat on April 20, 2017, 04:56:02 AM
-
I built a makefile using my windows 7 machine, i have tried to build the project using the makefile on my windows 10 machine but run into errors
Error -- del: No such file or directory
I opened up command prompt and the del command works, i deleted a few files using it.
Any ideas why i might be facing this issue, i have made sure that the i have included "C:\Windows\System32" file on my visual studio
-
It says NO SUCH FILE or DIRECTORY ..... Does the Target Exist that its trying to Delete?
-
Hi ;)
How did use it ? with a batch file ?
can you post what did tried as code ?
-
del is a command internal to cmd.exe. If you are specifying del directly as a command attribute for an <exec> in a project node for MSBuild, it isn't going to work unless there is a executable or batch file available on the system path named "del". you should either use cmd /c del <file>, or just have it run a batch file.
-
The lack of details is once again slowing down the process.
But hey...that's the DOS section.