Create A Shortcut To A *.bat Batch File In The SAME (unknown) Folder?
Sep 21, 2011
I have written a batch file (e.g.aaa.bat) which can take several paramters and runs fine as long as I enter the start command at the command prompt e.gaaaa.bat -start -logIn order to avoid always having to enter manually this command I created a shortcut to this batch file and placed it in the SAME directory and added once the desired parameters. The shortcut properties look like now:Target: D:proj2 est2011aaaa.bat -start -logStart in: D:proj2est2011This works fine as well. Now the problem comes: I want to make these batch file and its shortcut portable.That means users should be abel to copy both files (batch + shortcut) on their computer in an indiviual different directory and be able to start the shortcutted batch file WITHOUT adjustments as well.
BUT this does not work because "Target" and "STarted in" most problably have a different path (e.g. C:evalproj ask23).My first approaches to solve this problems were to omit the path like in:Target: aaaa.bat -start -logStart in: .But this does not help. If I try to apply the settings above for the shortcut I got an error popup:"The name aaa.bat' specified in the target box is not valid"Hmm, how do I specify in the shortcut=SAME DIRECTORY AS CURRENT SHORTCUT FILE otherwise?
View 1 Replies
ADVERTISEMENT
Jul 1, 2011
I am trying to create a batch file that runs 3 other batch files. Right now, it works fine using the call command on each other batch file. However, these other batch files take awhile to run. and so the entire process takes a very long time, since each "sub" batch file is run only after the previous one is finished.I was wondering if there is a command or way to start a batch file fro the top-level batch file, then go on and start the next batch file before the previous one is finished. In other words, I want the sub batch files to run in parallel in the background. (similar to the '&' in Unix).
View 1 Replies
View Related
Oct 30, 2010
How to create a batch file that will move files based on the file type?My Requirement : I need a batch file to copy all .doc files in all my HardDisk to aremovable disk say (Z: drive) . Can anyone make it possible using a batch file
View 4 Replies
View Related
Oct 31, 2011
I am trying to create a batch file that will start an executable?
View 9 Replies
View Related
Mar 6, 2012
What I want to do is a batch file or program so that when you open it, it mimics key presses Alt+Tab. Or at least tell me where's the Flip2D program locationI need it because I want my Synaptics touchpad to open it (this program) when a I press the upper left corner.
View 1 Replies
View Related
Oct 31, 2011
I am using this command: Code: mount -u:root -p:[password] \216.17.1.125srvwwwhtdocs g: at the command line to mount an NFS-enabled network drive from my Windows 7 machine.
I need to know what I need to put in a batch file (which will be put in my Startup folder), so the drive is automatically mounted at login/startup.
I tried just putting the line above in a batch file, but that didn't work.
View 14 Replies
View Related
Mar 1, 2010
How to Create a Network Folder Shortcut in Windows 7 ?
View 0 Replies
View Related
Oct 25, 2011
System Info Utility version 1.0.0.1
OS Version: Microsoft Windows 7 Home Premium, Service Pack 1, 64 bit
Processor: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz, Intel64 Family 6 Model 30 Stepping 5
Processor Count: 4
RAM: 8190 Mb
Graphics Card: ATI Radeon HD 4600 Series, 1024 Mb
Hard Drives: C: Total - 114370 MB, Free - 71446 MB; D: Total - 953866 MB, Free - 821189 MB; E: Total - 99 MB, Free - 70 MB; F: Total - 476837 MB, Free - 396929 MB;
Motherboard: ASUSTeK Computer INC., P7P55D, Rev 1.xx, 101697990000924
Antivirus: Microsoft Security Essentials, Updated and Enabled
I have started getting message box titled "MTxfr" which states, "Could not create file mapping object(5)" I can click the OK or just close it but I want to know what it is and why I'm getting it.
View 1 Replies
View Related
Mar 3, 2010
How to Create a Offline Files Folder Shortcut in Windows 7
View 0 Replies
View Related
Dec 20, 2012
I need to access files (via Windows 7) that were saved in XP mode. To do this, I thought I would create a Windows Explorer shortcut in Windows 7 that pointed to the XP mode environment. The shortcut creation method doesn't seem to work for non-application shortcuts. How can I access (in Windows 7) or move files (to Windows 7) that are created in XP mode? I have a Canon camera that uses an XP only utility to communicate with the camera. The files are moved from camera to XPM environment. I need to work with the files in Windows 7.
View 3 Replies
View Related
Aug 18, 2011
I have a batch file which is located at say C:Batches.I would like to run this batch file from say D:WorksFolderA.
View 3 Replies
View Related
Apr 6, 2011
Hope I can explain my difficulty. I have duplicated folders album name for all my music files, As there is quite a considerable number I wondered if it was possible to batch file (automate) the process. I can not delete "d" as this would delete all the tracks. What I need to do is move the tracks at "e" into folder "c" and delete the then empty folder "d" Folder structure.
View 3 Replies
View Related
Jan 16, 2012
I have a computer that is a drone specifically for an outside LED sign. This computer is designed to never shut off and doesn't have any other program on it besides Operating System and the sign software. I need to create a batch file that I can place in the "start-up" folder that will open the program (LEDStudio10) and open the file that I want to play. I have already tried multiple attempts and I was hoping someone out there in sevenforums world would be able to point me in the right direction.
View 1 Replies
View Related
Sep 17, 2012
I just downloaded all of the Google Web Fonts and they were each downloaded into their respected folders, so instead of clicking on folder after folder and right clicking after right clicking and finally installing each and every font;
How can I create a command prompt (batch) file so the prompt can search the main folder where all the font folders are, grab any and all TrueType Font files and move or copy them into another single folder?
View 3 Replies
View Related
May 3, 2012
I have a folder with around 2000 files in it. I want to be able to copy certain files from this folder (normally around 40) and place them in a brand new folder, I want to be able to do this with nothing more than a txt file that has all the file names I need copying in it with every file name on a separate line.I receive around 10 new txt files each day so you can imagine how tedious it is searching through 2000 files, picking out the 40 I need, times a day everyday.To make things even more complicated, the txt files I receive don't always have the correct file names in them, maybe there's a misspelling or a word or two missing for some of the names. That's ok when I'm going through picking out the files I need to copy myself because I can normally tell which file is being requested, but I can't see it being so easy for a program or whatever to do, I'm guessing it'll need to have a search feature where it picks out the most likely file.I'd like it to be as automated as possible. I receive the txt file, make sure each file name is on a separate line then a program or script or whatever goes out and picks out the files (or most likely files for the name's that aren't exact matches) and copies them into a brand new folder (which I'd like to be the same name as the text file it's using to choose the files).
View 5 Replies
View Related
Nov 12, 2011
How to open shortcut folder and file?
View 1 Replies
View Related
Aug 13, 2012
how to open a short cut file
View 4 Replies
View Related
Apr 27, 2011
Trying to create a batch file for Windows 7 to run a command (elevated ) in command prompt?User: is an administrator or in administrator group ( but actual administrator account may be disabled )essentially need to be able to double click the *****.bat filehave it open up cmd in elevated ( run as administrator ) , run the command in the dos window and reboot the computer.
View 2 Replies
View Related
Jul 31, 2012
I'm trying to move a file from my desktop to a folder on my Hard Drive (Internal) but everytime i attempt to do this it says, "Window's Can't Create a Shortcut here, do you want the shortcut to be placed on the desktop instead?". This have never happened to me before and frankly I'm a little perplexed at why this is happening.
View 4 Replies
View Related
Jul 13, 2011
why cant we create CON folder/file ??? for what it refers to
View 6 Replies
View Related
Feb 24, 2012
I wanted to create a TXT file under the WINDOWS folder and the only thing on the context menu was FOLDER.I get the same context menu for any folder under the windows folder.
View 9 Replies
View Related
Oct 18, 2011
after install my brothers DCP-135C I have a problem after connect the printer to PC it give a msg that the control center3 is not instaled,
View 1 Replies
View Related
Jan 15, 2013
windows batch scripting and am in the process of trying to create a game for a blind child.
@echo off
echo please enter name
set /p name-field=
echo please enter address
set /p address-field=
echo please enter city
[code]....
View 5 Replies
View Related
Feb 17, 2011
I often have to create Shortcuts to executable code. I used Shortcut Extension - Remove or Restore to get Code: SED.exe instead of the Windows 7 default Code: SED.exe - Shortcut as name of the newly created shortcut.
But I would prefer to have just 'SED'. Any way to do this automatically?
I think it might matter that I do not hide extensions ['Hide extensions for known files' (Option in Explorer -> Tools -> Folder Options... -> View)].
View 3 Replies
View Related
Apr 18, 2012
I did a system restore on my Win 7 Pro system. Now all of my desktop shortcuts quit working. Plus, if I create a new shortcut, it too doesnt work.
View 3 Replies
View Related
May 6, 2011
How do I create a shortcut to my desktop, so that the Windows explorer will open up the selected library in the 'my documents' section?
Of course there is no "create shortcut" button when I right click on the library.
View 6 Replies
View Related
Aug 22, 2009
How to Create a Windows 7 Run Command Box Shortcut ?
View 0 Replies
View Related
Dec 16, 2009
How to Create a Hibernate Shortcut in Windows ?
View 0 Replies
View Related
Nov 8, 2009
How to Create a Search Shortcut in Windows 7 ?
View 0 Replies
View Related
Jan 7, 2010
How to Create a Windows 7 Troubleshooting Shortcut ?
View 0 Replies
View Related
Jan 14, 2011
How to Create a AutoPlay Shortcut in Windows 7 ?
View 0 Replies
View Related