windows shell scripting



Share on Google+Share on Google+

windows shell scripting
0 Answer(s)      6 years and 2 months ago
Posted in : Development process

Hi All,

Using this knowledge make a batch file to achieve the following when the batch file is executed.

  1. Accept three parameters, a. Param1 b. Param2 c. Param3
  2. Display the accepted parameters with a message like ‚??Entered Param1 = , Param2 = , Param3=‚??.
  3. Let the second parameter be a directory path. Use Param2 and ‚??change directory‚?? to that path.
  4. Let the third parameter be a file name with extension. It should split the file name and extension and display separately.

Example: If Param1 = ‚??Hello‚?? and Param2 = ‚??C:\Program Files\Java‚??, then when the batch file is executed from C:\, I should see the following

C:>batchFile.bat C:>Entered Param1 = Hello, Param2 = C:\Program Files\Java, Param3 = abcd.txt C:\Program Files\Java> FileName = abcd, Extension = txt

Send me the batch file content when you are done.

View Answers

Related Tutorials/Questions & Answers:
windows shell scripting
windows shell scripting   Hi All, Using this knowledge make a batch file to achieve the following when the batch file is executed. Accept three parameters, a. Param1 b. Param2 c. Param3 Display the accepted parameters
windows shell scripting
windows shell scripting   Hi All, Using this knowledge make a batch file to achieve the following when the batch file is executed. Accept three parameters, a. Param1 b. Param2 c. Param3 Display the accepted parameters
Wicked Shell
Wicked Shell Wicked Shellis an Eclipse plugin providing direct access to your system's shell. To be honest, Wicked Shell is not evil at all, although it calls itself wicked... Wicked Shell is a small plugin trying to support your
scripting disabled
scripting disabled  How is scripting disabled?   Scripting is disabled by setting the scripting-invalid element of the deployment descriptor to true. The syntax for disabling scripting is as follows: <jsp-property
LINUX SHELL SCRIPT   I wish to create a bash shell script that meets the requirements below. ?Write a bash shell script called how_many_to_go that calculates and prints the number of days, hours, minutes and/or seconds until
JSP scripting elements
JSP scripting elements  How many JSP scripting elements ?   There are three scripting language elements: declarations, scriptlets, expressions
Export to Shell Script Plugin
Export to Shell Script Plugin   ... of an eclipse project's runtime configurations to shell scripts in various formats... having to custom write the shell script code For more information click
JSP Scripting Elements
JSP Scripting Elements  Explain the jsp scripting elements.   Hi, A scriplet tag is used to place a valid java code. This code is placed in the jspService() method by the JSP engine. Thanks
server side scripting in php
server side scripting in php  is it possible to access values on server side in post request PHP
Father of PHP Scripting Language.
Father of PHP Scripting Language.  Please tell me the latest version... is the father of PHP?   PHP is a general purpose scripting language... Language - Marco Tabini is the father of the PHP Scripting Language. Latest
Explain about Cross site scripting?
Explain about Cross site scripting?  Explain about Cross site scripting
Hadoop shell commands
Hadoop shell commands with example for managing files This article introduces you with the file handling commands of Hadoop which is used through console... and explanations of Hadoop shell commands: 1. Become hdfs user To correctly work
Objective C on Windows
Objective C on Windows   ... on Windows machine. We will download and install Objective C Windows compiler. On windows GNU C compiler can be used to compile the Objective C program. Objective
how to execute a unix shell script from a java program
how to execute a unix shell script from a java program  well , i am facing this problem.. i have tried a few sample codes but there isn't any solution . could anyone please give a sample code as of how to do this... what i am
windows username - JSP-Servlet
windows username  how to reset the password and username of windows using jsp
The Evolution of PHP for Scripting Needs
The PHP scripting language has a great server-side development language... at how the scripting language has evolved over the years to its current fifth edition. The PHP scripting language was first created in 1995 by Rasmus Lerdorf
Running Jar file in Windows
Running Jar file in Windows  Running Jar file in Windows
server side scripting java - JSP-Servlet
server side scripting java  I Very new to java server pages I am doing a project in java messaging service so in that i have a client on d server... on the server side i want that in the client side as pop up window
Windows File Protection
Windows File Protection  I would like to know if there is any way to place a file or folder under windows protection such that it can't be deleted, or in generel if there is a way to prevent a file or folder from being deleted
MongoDB uninstall windows service
MongoDB uninstall windows service  Hi, Previously I installed... from windows service. Can any one tell me How to uninstall the MongoDB from windows server? Thanks   Hi, You can remove the MongoBD service using
windows authentication with hibernate - Hibernate
windows authentication with hibernate  Does anyone know how to setup a datasource for SQL Server that uses Windows authentication instead of SQL Server mixed mood authentication? Is it possible with hibernate framwork? Thanks
links open new windows
links open new windows  Why do my links open new windows rather than update an existing frame
wifi et windows
wifi et windows  est ce qu'on peut capturer les trames d'un reseau wifi sous windows?? et merci pour la reponse
Scripting Variables in JSP Custom Tag
Scripting Variables in JSP Custom Tag       Example program to demonstrate use of scripting variable in Custom Tag What are Scripting Variables ? Scripting variables
Windows 7 refresh DNS
Windows 7 refresh DNS  Windows 7 refresh DNS How to refresh DNS in Window 7/Windows and linux? Thanks   Hi, In windows it is very easy to refresh the DNS. go to the command prompt (dos prompt) and then issue
creating windows service - RMI
creating windows service  Hi, I have created a project using spring RMI and have some server.jar file which contians all the classes of server and server.exe file which is used to start the server. But I want to create a windows
Linux Vs. Windows
Linux Vs. Windows       ...;       Both Linux and Windows works... the version or distribution of   the software. Both Windows and Linux have
Windows Web Hosting
Windows Web Hosting Windows Web Hosting is the hosting service provided on the Microsoft Windows Operating Systems. IIS server is used to serve the web pages on the windows platform. Windows platform provides the tools for developing
Regarding 2 windows
Regarding 2 windows  Hi, I want 2 separate windows,when i click on a 1st window submit btn then it will show 2nd window. In 2nd window i want 1 textbox.i entered some text on that text box and when i close the 2nd window
Running Java Applications as a Windows Service
Running Java Applications as a Windows Service  sample code for "Run a Java application as a Windows Service
Open Source Windows
Open Source Windows      ...; Miro Beautiful interface. Plays any video type (much more than windows... is an instant messaging program for Windows, Linux, BSD, and other Unixes