2 ms·
What platform does `&&` not work on? It works fine in Windows `cmd`, which is the typical shell to worry about portability with.
by jdmichal 11y ago
What platform does `&&` not work on? It works fine in Windows `cmd`, which is the typical shell to worry about portability with.
- Arnavion 11y agocmd's `&&` is the equivalent of bash's `;`. bash's `&&` has no equivalent in cmd. Edit: Never mind, I'm apparently wrong.
- jdmichal 11y agoOn Windows 7; note the lack of version information from Java: > rm test.txt && java -version rm: cannot unlink entry "test.txt": The system cannot find the file specified.