Sponsored Content
Top Forums Shell Programming and Scripting Use Unix shell script to open Windows command prompt (cmd) Post 302546012 by rookie2785 on Wednesday 10th of August 2011 07:44:15 AM
Old 08-10-2011
Thanks, but I have the restriction to do it by shell script.
The file transfer is only done when a user triggers a button on the desired file.
Once the initiation is made, the file should be transferred to his local machine (Windows).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Interaction shell cmd prompt

hi , how do i interact with the shell prompt. i need no. of args to be dynamic e.g $> type the no of args: <input from keyboard> Enter the 1 st arg : <input from keyboard> Enter the 2nd arg : <input from keyboard> ......... ......... let me know how to do it ... (1 Reply)
Discussion started by: adityamahi
1 Replies

2. UNIX for Dummies Questions & Answers

running command prompt executable file in shell script

hi i have file extentioned with test.vbs. i am able to run this file n execute through command promt but i dont know how to run in shell script example: file name is test.vbs which contains strSoundFile = "C:\windows\Media\Notify.wav" Set objShell = CreateObject("Wscript.Shell") strCommand... (5 Replies)
Discussion started by: atl@mav
5 Replies

3. Shell Programming and Scripting

open terminal to run cmd using shell script

i want the shell script to open the terminal and in that terminal i want to run a command specified in the script... how can it be done... (2 Replies)
Discussion started by: chandrabhushan
2 Replies

4. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

5. Homework & Coursework Questions

Unix Shell Script to prompt customer for name etc

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: How do I create a shell script called 'custinfo' to prompt a customer to enter and display back the following:... (4 Replies)
Discussion started by: SQLScript
4 Replies

6. Shell Programming and Scripting

MKS KORN SHELL WONT EXECUTE from windows command prompt

Can anybody help me with this small script , the script works fine and launches the IE from c:\documents and settings \test\my documents>ksh prompt $RunURL1.sh this scitpt works and launches the ie from ksh , but when i schedule it to run the script then i get the error box saying command:1... (2 Replies)
Discussion started by: venu
2 Replies

7. Windows & DOS: Issues & Discussions

script to open new cmd prompt for devices on visio

Hello, Can any one please help: I have a lab design on Visio, with routers and switches. What I am planning to do is: when I double click a device icon - it should open a new cmd prompt window and automatically performs the telnet session and log's me into the device. Appreciate your... (0 Replies)
Discussion started by: sureshcisco
0 Replies

8. Shell Programming and Scripting

how to change unix cmd display prompt?

I am new to to unix and I want to make my own basic shell. What is the code I can use to change the unix cmd console display? For example my unix display prompt says MyCompterName~, I want it to say WhatEverMan~ (3 Replies)
Discussion started by: megaearth77
3 Replies

9. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

10. UNIX for Dummies Questions & Answers

Shell script not working but command works in command prompt

Hi everyone I have a problem with my script If I try directly this command /usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz It works But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies
vt(1)							      General Commands Manual							     vt(1)

NAME
vt - log into another system over lan SYNOPSIS
nodename [lan_device] [lan_device] DESCRIPTION
enables a user to log into another HP 9000 system (nodename) over an HP local area network. The option causes to send a poll request over the local area network to find out what systems currently have running (see vtdaemon(1M)). An asterisk following a nodename in the response indicates that the system is a gateway. Plus signs following the nodename indicate how many gateways must be traversed to reach that system. The optional argument lan_device specifies a character special device name to use instead of the default device name to send and receive data to and from the local area network. The major number for this device must correspond to a CIO IEEE 802.3 local area network device. Once a connection has been established, enters input mode. In this mode, text typed is sent to the remote host. To issue commands when in input mode, precede them with the escape character (see Commands below). When in command mode, normal terminal editing conventions are available. The connection should terminate automatically upon termination of the login shell on the remote machine. If the connection is not termi- nated upon exit, it is likely that the on the remote system has either been terminated or restarted. To terminate a vt connection, enter command mode and use the command to terminate the connection. Commands recognizes the following commands. Commands can be abbreviated by typing enough of the command to uniquely identify it. Change the working directory on the remote machine to remote-directory. This command is applicable for file transfer only. Set the escape character. If a character is not specified prompts for one. To print or display the current escape character simply press Return in response to this prompt. Print a command summary. Change the local working directory. If no directory is specified, use the user's home directory. This command is applicable for file transfer and shell escapes only. Copy remote-file to local machine and store as local-file. prompts for the file names if they are not specified. The file transfer can be aborted by typing the interrupt character or pressing the break key. Copy local-file to the remote machine and store as remote-file. prompts for the file names if they are not speci- fied. The file transfer can be aborted by typing the interrupt character or pressing the break key. Terminate the connection and exit vt. Identify yourself to the remote server. prompts for a password (after disabling local echo) if a colon is appended to user-name. This com- mand must be executed before any file transfer command can be used. Shell escape. The given command is passed to a sub-shell for execution. If no command is given, a shell is started and connected to the user's terminal. Access Control Lists (ACLs) When sending or receiving files using optional ACL entries are removed. New files have a summary of the access modes (as returned in by of the file being transferred (see stat(2)). DIAGNOSTICS
The diagnostics produced by are intended to be self-explanatory. WARNINGS
uses the Hewlett-Packard LLA (Link Level Access) direct interface to the HP network drivers. uses the multicast address It should not be used or deleted by other applications accessing the network. uses the following IEEE 802.3 sap (service access point) values: and They should not be used by other applications accessing the network. When using on a system with multiple LAN cards installed, the optional command-line argument lan_device may be required if the remote sys- tem is not accessible through the default LAN device. The appropriate lan_device is the one connected (either directly or by way of other gateways) to the remote system. Desktop HP-UX If your system has been installed with the Desktop HP-UX product, neither nor will be started by default. To start these daemons, change PTYDAEMON_START and VTDAEMON_START from a to a in the and files, respectively. The system must be either rebooted for these changes to take effect, or you can start both daemons manually by typing the following commands: where /dev/lan0 is the character special device file corresponding to the IEEE 802.3 local area network device. FILES
Default lan device name. SEE ALSO vtdaemon(1M), stat(2), lan(7), acl(5). vt(1)
All times are GMT -4. The time now is 10:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy