Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

windows shell scripting

Ads

 
 

Share on Google+Share on Google+

santhoshdk
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.

Ads
View Answers
Ads









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
Advertisements
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
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
Version of struts-scripting>struts-scripting dependency
List of Version of struts-scripting>struts-scripting dependency
Version of jpox>jpox-shell dependency
List of Version of jpox>jpox-shell dependency
JSP scripting elements
JSP scripting elements  How many JSP scripting elements ?   There are three scripting language elements: declarations, scriptlets, expressions
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
LINUX SHELL SCRIPT - Date Calendar
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
Version of maven>maven-shell-plugin dependency
List of Version of maven>maven-shell-plugin dependency
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
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
Maven Dependency jpox-shell >> 1.1.9
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-shell version1.1.9 in your project
Maven Dependency jpox-shell >> 1.1.2
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-shell version1.1.2 in your project
Maven Dependency jpox-shell >> 1.1.3
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-shell version1.1.3 in your project
Maven Dependency jpox-shell >> 1.2.0-beta-1
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-shell version1.2.0-beta-1 in your project
Maven Dependency jpox-shell >> 1.2.0-beta-2
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-shell version1.2.0-beta-2 in your project
Artifacts of struts-scripting
List of Artifacts of struts-scripting maven depenency
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
Explain about Cross site scripting?
Explain about Cross site scripting?  Explain about Cross site scripting
Maven Dependency struts-scripting >> 1.0.1
You should include the dependency code given in this page to add Maven Dependency of struts-scripting >> struts-scripting version1.0.1 in your project
windows username - JSP-Servlet
windows username  how to reset the password and username of windows using jsp
Maven Dependency maven-shell-plugin >> 1.1
You should include the dependency code given in this page to add Maven Dependency of maven >> maven-shell-plugin version1.1 in your project
Running Jar file in Windows
Running Jar file in Windows  Running Jar file in Windows
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
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
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