Jump to content

Recommended Posts


Posted

Freeware shortcut.exe creates shortcuts from the command-line.

download shortcut_1.00.zip

Shortcut version 1.00

Creates, modifies or queries Windows shell links (shortcuts)


The syntax of this command is:

shortcut.exe /F:filename /A:C|E|Q /T:target /P:parameters /W:workingdir
        /R:runstyle /I:icon,index /H:hotkey /D:description

/F:filename    : Specifies the .LNK or .URL shortcut file.
/A:action      : Defines the action to take (Create, Edit or Query).
/T:target      : Defines the target path and file name the shortcut points to.
/P:parameters  : Defines the command-line parameters to pass to the target.
/W:working dir : Defines the working directory the target starts with.
/R:run style   : Defines the window state (1=Normal,3=Maximized,7=Minimized).
/I:icon,index  : Defines the icon and optional index (file.exe or file.exe,2).
/H:hotkey      : Defines the hotkey.
/D:description : Defines the description (or comment) for the shortcut.


If Query is specified, all arguments except /F are ignored.

An argument of /? or -? displays this syntax and returns 1.
A successful completion will return 0.


Copyright 2000  Marty List

COPY, XCOPY, and MOVE Overwrite Functionality Changes in Windows

MOVE

Moves files and renames files and directories.

To move one or more files:
MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination

To rename a directory:
MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2

 [drive:][path]filename1 Specifies the location and name of the file
                         or files you want to move.
 destination             Specifies the new location of the file. Destination
                         can consist of a drive letter and colon, a
                         directory name, or a combination. If you are moving
                         only one file, you can also include a filename if
                         you want to rename the file when you move it.
 [drive:][path]dirname1  Specifies the directory you want to rename.
 dirname2                Specifies the new name of the directory.

 /Y                      Suppresses prompting to confirm you want to
                         overwrite an existing destination file.
 /-Y                     Causes prompting to confirm you want to overwrite
                         an existing destination file.

The switch /Y may be present in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.  Default is
to prompt on overwrites unless MOVE command is being executed from
within a batch script.

Posted

Looks like the site is down.

Try this : http://download.scriptlogic.com/downloads/...tingtoolkit.zip

Its a package with some commandline tools.

This page descrip what it contain : http://www.jsiinc.com/SUBO/tip7100/rh7175.htm

Use MakeScut.exe to create shortcut.

Syntax

MakeScut /n "xxx" /t "xxx" [/i "xxx"] [/a "xxx"] [/r] [/o] [/k] [/c "xxx"]

/n Name of the shortcut to be created, including the full path.

/t Target application that the shortcut will be used to launch, including full path.

/i Filespec (and optionally an index) of the icon for the shortcut, including full path.

/a Arguments used by the target application.

/s Start in (a.k.a. Working directory), including full path.

/r Run window. Default is a normal window. Options include min or max.

/o Overwrite. If the /o switch is not specified, the default behavior is do not overwrite.

/k Shortcut Key used to launch the application.

/c Comment (displayed on mouse hover).

Hope it helps.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...