executables » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2012-07-08 | 2012-07-08 | ||
no summary (124.6.181.85) (hidden) | Restored revision 1325685792. Undoing revision 1341734579. (martin) (hidden) | ||
Line 17: | Line 17: | ||
* It can be used to execute scripts without showing any window (by omitting ''/console'' parameter). | * It can be used to execute scripts without showing any window (by omitting ''/console'' parameter). | ||
- | printf '\x6d\x61\x70\x73' | dd conv=notrunc of=/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7 bs=1 seek=XXXXXXXXX | + | ===== winscp.com ===== |
- | printf '\x75\x73' | dd conv=notrunc of=/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7 bs=1 seek=XXXXXXXXX | + | The %%COM%% executable is a simple tool that internally runs ''winscp.exe'' and provides console interface for it. |
+ | |||
+ | What you can do with it: | ||
+ | ··* Supports console mode only, but allows [[executables#redirection|input/output redirection]]; | ||
+ | · * When run from another console application (such as standard Windows console/command-line window, i.e. ''cmd.exe''), it inherits its console((''winscp.exe /console'' would pop up in new console window.)). | ||
+ | * When run from Windows shell (i.e. ''cmd.exe'' or batch file), the shell waits for WinSCP to finish. So you can then check for WinSCP exit code. | ||
+ | |||
+ | The %%COM%% executable needs the EXE one to operate. It looks for it in the same directory, where it is located itself. The EXE must have exactly the same name. | ||
==== [[redirection]] Input/Output Redirection ==== | ==== [[redirection]] Input/Output Redirection ==== |