Differences
This shows you the differences between the selected revisions of the page.
2014-08-04 | 2014-08-27 | ||
american spelling + typo (martin) | since windows vista, shortcut cannot point to .com files (martin) | ||
Line 48: | Line 48: | ||
===== [[using]] Using script ===== | ===== [[using]] Using script ===== | ||
Now to make using script easier/automatic you can: | Now to make using script easier/automatic you can: | ||
- | * Make shortcut to it on desktop to ease execution. Either make shortcut to batch file (''.bat'') or enter full command line to shortcut itself. | + | * Make shortcut to it on desktop to ease execution. Either make shortcut to batch file (''.bat'') or enter full command line to shortcut itself.((Note that it is not possible to use ''winscp.com'' (''.com'' files in general) directly from a shortcut. Call ''winscp.com'' from a batch file or use ''winscp.exe'' with ''/console'' command-line parameter.)) |
* If the wrapping batch file takes filename as command line parameter (see [[guide_automation#modifying_the_script_automatically|below]]) you can: | * If the wrapping batch file takes filename as command line parameter (see [[guide_automation#modifying_the_script_automatically|below]]) you can: | ||
* Make shortcut to it on desktop and use it by dropping files on the icon. Windows automatically run the batch file and passes path to dropped file as command-line parameter. | * Make shortcut to it on desktop and use it by dropping files on the icon. Windows automatically run the batch file and passes path to dropped file as command-line parameter. |