![]() This section describes the basics of how to use Plink for interactive logins and for automated processes. On Windows 95, 98, and ME, you will need to edit your AUTOEXEC.BAT to include a set command like the one above. To set your PATH more permanently on Windows NT, 2000, and XP, use the Environment tab of the System Control Panel. This will only work for the lifetime of that particular console window. To add the directory containing Plink to your PATH environment variable, type into the console window: set PATH=C:\path\to\putty\directory %PATH% In order to use Plink, the file plink.exe will need either to be on your PATH or in your current directory. It should be available from the Programs section of your Start Menu. In Windows 95, 98, and ME, this is called an «MS-DOS Prompt», and in Windows NT, 2000, and XP, it is called a «Command Prompt». This means that you cannot just double-click on its icon to run it and instead you have to bring up a console window. Plink is probably not what you want if you want to run an interactive session in a console window. It is mostly used for automated operations, such as making CVS access a repository on a remote server. Plink is a command-line connection tool similar to UNIX ssh. ![]() 7.3 Using Plink in batch files and scripts.7.2.2 Using Plink for automated connections.7.2.1 Using Plink for interactive logins.Глава 7: Using the command-line connection tool Plink
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |