Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Development-process windows shell scripting

Have Programming Question? Ask it here!
 
 
 


santhoshdk
windows shell scripting
0 Answer(s)      3 years 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.


Advertisement
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
Advertisements
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 - 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
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
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
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
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
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
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
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
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
Linux Vs. Windows
Linux Vs. Windows       ...;       Both Linux and Windows works... the version or distribution of   the software. Both Windows and Linux have
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
Java for Windows
Java for Windows       First of all download jdk for windows and then install and configure the Java SE... and Installing J2SE Software on Windows Platform  To download J2SE for windows
How to display windows virtual keyboard
How to display windows virtual keyboard  Hi, I have a jsp file which contains my website design. In my jsp website design, there's a button. I need to display windows virtual keyboard when i press the button. how to do
Java get windows Username
Java get windows Username     ... of the windows. System.getProperty("user.name")- This method retrieve the username of the particular system from all the properties of Windows.    
How to install JDK 7 in windows
How to install JDK 7 in windows  Hi, Is there any tutorial for installing JDK 7 on Windows computer here? Thanks   Hi, JDK 7... it in our video tutorial. Check the tutorial: Installing JDK 7 on Windows Thanks
Windows 8 Advantages and Disadvantages
Is it good to upgrade from your current version of Windows to latest Windows 8... at the advantages (pros) and disadvantages (cons) of Windows 8: Advantages (Pros): Installation time of Windows 8 takes only 10 minutes. Windows
java classpath prbm in windows 7
java classpath prbm in windows 7  i have a problem to set the classpath in windows7 in my system oracle is not there. environment variables under that user variables i set them like this: CLASS .;C:\Program Files\Java\jdk1.6.0_32
JavaMail and Gmail in Windows - JSP-Servlet
to send and receive emails through Gmail SMTP server. It worked fine in Windows 7 but when I try to run the same program in Windows XP in a different machine... by default in Windows 7. The program is= /* * SendMail.java * * Created
Installing MySQL on Windows
Installing MySQL on Windows       In this section you will learn how to install MySQL 5.0 on windows system. The MySQL 3.21 was the first version for the windows. Windows installer
read/write to Windows Registry using Java
read/write to Windows Registry using Java  read/write to Windows Registry using Java
What is Windows Hosting?
of a choice as there are only two major hosting types, Windows hosting and Linux... one is the better, Linux or Windows. Though both types of hosting has its... to shoulder analysis. Windows hosting has some specific areas of strength
can I capture wifi trafic in windows?
can I capture wifi trafic in windows?  Hi, can I analyse wifi trafic in windows and not in linux ? thank you
download eclipse helios for windows 7 64 bit
download eclipse helios for windows 7 64 bit  How to download eclipse helios for windows 7 64 bit? Thanks
how to access windows registry information using java?
how to access windows registry information using java?  can any one help me how to access windows registry information using java
Installing JDK 7 on Windows
Installing JDK 7 on Windows - Beginners tutorial for installing configuring... Agreement and the click on the link for download JDK for windows. Step 2... windows 7 computer. Check more tutorial for Java beginner in our Java
How to develop iphone application on windows OS?
How to develop iphone application on windows OS?  Is it possible to develop j2me based application in IPhone
Compressing a folder into GZIP format using PHP Windows
Compressing a folder into GZIP format using PHP Windows  How to gzip compress a folder/directory in PHP using windows
How to upgrade mysql 5.1 to 5.5 windows
How to upgrade mysql 5.1 to 5.5 windows  How to upgrade mysql 5.1 to 5.5 windows
How To Install Windows 8
In this tutorial we will discuss about how to install windows 8 on your computer. Microsoft has come up with the latest version of operating system Windows 8 and if you are willing to install the latest version of Windows 8 in your
How to Create User Account in Windows 8 with Windows live ID
If you have installed the latest version of operating system .i.e. Windows 8 on your PC and already have a Windows live ID, here, you will learn how to create an user account in Windows 9 using your windows live ID. 1. To start
I need to launch multiple instances of IE browser from one windows M/C on the another windows M/C
I need to launch multiple instances of IE browser from one windows M/C on the another windows M/C  multiple instances of IE browser from one windows M/C on the another windows M/C
Is Window 8 better than Windows 7?
With release of Windows 8 its comparison with Windows 7 is inevitable. Most of the users are in dilemma to whether or not to upgrade to windows 8. Is Windows 8 better than windows 7, its predecessor? Here we will give a point wise
 

 

 

DMCA.com