1

Topic: Strange works _wspawnvpe - does not find what to fulfill

Hello! I cause _wspawnvpe (I do not forget to transfer variable surroundings) for mklink/J... I Receive an error: No such file or directory I Do my-mklink.bat a file: [code] mklink %1 %2 %3 set [code] I cause also: my-mklink.bat/J lnk lnk_target Works - creates a link, deduces variable surroundings, there and PATH is present. There is a suspicion that mklink is built in in CMD a command. Tried to launch from the console pens MKLINK.EXE - it is launched. Whether it means, what it  an exterior command? Or it is simple CMD understands also such variant of a call of the built in command? How to be? To launch through system? But there it is inconvenient - it is impossible separately arguments to set, only the clod a line entirely, is not present possibility to transfer variable surroundings

2

Re: Strange works _wspawnvpe - does not find what to fulfill

Hello, Marty, you wrote: M> There is a suspicion that mklink is built in in CMD a command. Tried to launch from the console pens MKLINK.EXE - it is launched. Whether it means, what it  an exterior command? Or it is simple CMD understands also such variant of a call of the built in command? . mklink.exe it is launched, but the file such on a disk anywhere is not present ...

3

Re: Strange works _wspawnvpe - does not find what to fulfill

Hello, Marty, you wrote: M> There is a suspicion that mklink is built in in CMD a command Indeed. M> how to be? To launch through system? But there it is inconvenient - it is impossible separately arguments to set, only the clod a line entirely, is not present possibility to transfer variable surroundings to Launch "cmd.exe/C mklink [parameters]" the Key / with - executes the specified command Well or directly to call CreateSymbolicLink

4

Re: Strange works _wspawnvpe - does not find what to fulfill

Hello, CaptainFlint, you wrote: M>> There is a suspicion that mklink is built in in CMD a command. Tried to launch from the console pens MKLINK.EXE - it is launched. Whether it means, what it  an exterior command? Or it is simple CMD understands also such variant of a call of the built in command? CF> Zanjatno. mklink.exe it is launched, but the file such on a disk anywhere is not present ... Aha, dir.exe, copy.exe - too are launched

5

Re: Strange works _wspawnvpe - does not find what to fulfill

Hello, Evgeniy Skvortsov, you wrote: M>> There is a suspicion that mklink is built in in CMD command ES> Indeed. It is interesting, why mklink.exe too works. On earlier systems of such behavior like was not M>> How to be? To launch through system? But there it is inconvenient - it is impossible separately arguments to set, only the clod a line entirely, is not present possibility to transfer variable surroundings ES> to Launch "cmd.exe/C mklink [parameters]" ES> the Key / with - executes the specified command Hammered, made  through system ES> Well or directly to call CreateSymbolicLink does not work, the rights do not suffice. I decided to use junction, even   from Russinovicha, but there awful  the code, to brush to me which there was a laziness, I solved on simple through mklink/J