|
| ||||||||||
| Tags: command line, linux, shortcuts, windows, windows xp |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| Create shortcuts in the command line
I just spent an afternoon on my XP to try to create shortcuts (called "symbolic link" under UNIX) with the command line. No results My problem is: I really need to create shortcuts (from python, which is normally filled launch any command line tool) with a partial mirror script Debian deposit before work (at least ) under linux and windows! Can anyone help me? thank you for your answers, |
|
#2
| |||
| |||
| Re: Create shortcuts in the command line
I think you should go through a VB script.But I even also heard that similar to the built-in START command, in addition to normal, minimized and maximized an applicatin you could also use an commands from Command line. |
|
#3
| ||||
| ||||
| Re: Create shortcuts in the command line
Ok, thank you very much! The solution is not necessarily ideal, but I probably troubleshoot ... Again thank you |
|
#4
| |||
| |||
| Re: Create shortcuts in the command line
With WSH (you should be able to call via Python I think): Code: WshShell = CreateObject ( "WScript.Shell") strDesktop = WshShell.SpecialFolders ( "Desktop") oMyShortcut = WshShell.CreateShortcut (strDesktop + "\ Sample.lnk") oMyShortcut.WindowStyle = 3 & & 7 = Minimized Maximized 4 = Normal oMyShortcut.IconLocation = "C: \ myicon.ico" OMyShortcut.TargetPath = "% windir% \ notepad.exe" oMyShortCut.Hotkey = "ALT + CTRL + F" oMyShortCut.Save |
|
#5
| ||||
| ||||
| Re: Create shortcuts in the command line
Ok, thank you all. I will (initially) to use the command line tool proposed by Paramartha, before getting into the WSH (or outright IShellLink via PyWin32 ...) Regards |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Create shortcuts in the command line" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create ZIP Files from Command-Line via VBScript? | FB | Windows Server Help | 10 | 21-12-2011 11:18 PM |
| List of Windows XP and Windows Vista Command line Shortcuts | Pyrotechnic | Tips & Tweaks | 6 | 15-10-2010 08:18 AM |
| How to create a .ISO File and burn a CD, via command-line | Dubeyji | Windows Software | 6 | 15-09-2010 06:00 AM |
| Create torrent-file via command line | GurdeepS | Technology & Internet | 8 | 23-06-2010 06:52 AM |
| Winrar: Create SFX via Command Line | magicT | Windows Software | 3 | 03-07-2009 01:26 PM |