Is it possible to create something like a desktop shortcut that I could double click to run a particular command that I would normally type out in command prompt? Here is one that I want to make a shortcut of:
C:\Users\jdave\Documents\Java>appletviewer ButtonExample.html
I asked this on Yahoo Answers because I thought it would be a little basic for Stack Overflow and one person said to create a batch file like so:
@echo off
start "C:\Users\jdave\Documents\Java>appletviewer ButtonExample.html"
I did this but all it does is open a command prompt window.
Your batch file should look something like this:
@echo off
cd C:\Windows\System32\
start notepad.exe C:\Users\"user1"\test.txt
Replace the "user1" with your username or give the proper path to your application.
Make sure that appletviewer takes the type of parameter that you are passing it.