Home > How To > How To Create A Shortcut To Batch File One Folder Up

How To Create A Shortcut To Batch File One Folder Up

By then I found thisarticle (and later this article) with the method I was looking for. I can't see the full text of it but if you're trying to copy something you should start the batch with the command copy not just the file paths.If that option Click Apply and OK. into a user folder which is not easily accessible when you log into the machine as a different user. http://smashyourweb.com/how-to/how-to-create-a-pst-file-in-outlook-2013.html

Is there some trick to getting this to work? Read More : Fingertips! portablefreeware.com/?id=2099 Reply Tim November 1, 2014 at 3:20 am Like apps in this article, how do i open multiple Windows folders? Because of that, I've often found myself in the position of having to tell family and friends that all of...

For instance, if I sync my Desktop folder using "mklink /J "%USERPROFILE%\OneDrive\My Desktop" "%USERPROFILE%\Desktop", how can I remove the OneDrive synchronization without deleting the My Desktop folder and its contents? David PS: After finding the process too slow and getting too many duplicated files, I decided to stick with my SyncToy method for the My Documents folder as it was faster Take note of the path where you’ve saved this file at, in Notepad, because we’ll need it in the next step.

Browse other questions tagged windows batch-file shortcut or ask your own question. current community blog chat Super User Meta Super User your communities Sign up or log in to customize your list. References about tropical cluster algebras and tropical Laurent phenomenon Is it an OVSF code? This should display the path to your application.

But creating/converting all audio/video with lyrics will take years for me taken into consideration the number of songs I have. Most of the mapping techniques I found either mapped a network drive to a drive letter, or mounted a drive into an empty folder (the method I used with the micro Why are the windows of bridges of ships always inclined? After a reset on OneDrive I can no longer sync everything because it says there is not enough room on C: even though I've junctioned all the big stuff to D:.

Rubio's weird E-mail Is alcohol called spirits due to linking of imagery? Also much simpler than what I was trying to do. - fhutt –fhutt Jan 17 '16 at 8:34 It is a pleasure to give your answer the green tick. Just tried it, works perfectly. Related 697How to pass command line parameters to a batch file?208What does %~d0 mean in a Windows batch file?417How can you echo a newline in batch files?502Windows batch files: .bat vs

for /f - Loop command against the results of another command. Under a linux / unix type system, the command would probably look similar to the following: ./usr/bin/dosbox ~/games/settlers2/s2.exe On OSX, use a command like this /Applications/DOSBox.app/Contents/MacOS/DOSBox /Applications/DOS/tubworld.bat Retrieved from "http://www.dosbox.com/wiki/index.php?title=DOSBoxShortcuts&oldid=4382" Navigation This way I can move these folders anywhere on the drive or another drive and the shortcut still works. Then, click the "Finish" button.

Are you sure the second batch file isn't running? http://smashyourweb.com/how-to/how-to-create-ad-hoc-network-in-windows-10.html Stopping the workstation service will also stop these services. Map to OneDrive.zip Tags Cloud General Office Comments (17) Cancel reply Name * Email * Website old coder says: 11 September 2014 at 19:41 IMHO, needing them to be in the Unfortunately the batch language isn't sophisticated enough to create a shortcut (at least I've never been able to get it to work)Hope this is helpful Answered 06/08/2014 by: titusr Please log

Check that the paths are correct and that each part of the command has enclosing double-quotes. Can someone please confirm whether or not windows 10 allows mklink to create a folder link inside c:/onedrive to trick onedrive into syncing the folder on the network drive? Someone will make a better fool, tomorrow." @LoneWolffe Reply sjd November 5, 2014 at 2:19 pm I created a 2 commmand bat file, first line copies a file, second line executes navigate here C++ private inheritance What is crankshaft grinding and why is it done? 1 Fake Coin among N Amount of coins How can K (kaon) and Σ (sigma particle) be created quickly

In the highlighted box on the next window, you can enter a name for the shortcut. Go to the folder where you want the shortcut to be placed, this can be any folder, or the desktop. For example, if "The Settlers 2" was installed into the folder C:\Games\Settlers 2\, and DosBox is installed at it's default location, the target box would contain: "C:\Program Files\DOSBox-0.72\dosbox.exe" -conf "C:\Program Files\DOSBox-0.72\dosbox.conf"

Read More , it’s worth it to take these five minutes of your time to save yourself the unnecessary clicks and effort it would otherwise take you to launch two applications

Edit the properties of the shortcut. There should be quotes around the path only, but I had one after the c: on line 2. I've checked out the shortcut wizard, but I don't want the users to have to click on two different installs. My solution seems to be to move my OneDrive root to D: and junction Documents to C:.

But what a pain! Zero sum covers Could a world nation use organized, bounded war as a way to keep the soldiers trained? The following window will appear. his comment is here up vote 2 down vote favorite I have been trying to create a shortcut to launch a batch file one folder up from the shortcut location.

Create the Batch File To make this work, we now need to take those two application paths and work them into a batch file. I can successfully copy the folder to the C drive by using the batch file below. Detect MS Windows Reasons to colonize planets of another solar system? Small but hard and clever maze What can my relatives do to minimize their out of pocket expenses on their fathers estate How can K (kaon) and Σ (sigma particle) be

Darth Vader says “There’ll be no one to stop us this time” - what happened last time? I've tried creating the shortcut and placing it in the source folder for the copy and using a second batch file to copy it to the desktop, but the second batch If you don't understand this line, then it shouldn't affect you. Why are random walks intercorrelated?

Currently I use the comment box within the shortcut but it has a max number of characters I can use. cd "C:\Program Files\CCleaner" This is changing our directory to the CCleaner directory (which we got from the program path earlier). I tried: %windir%\system32\cmd.exe /c FOR %%V IN ("%~dp0..\") DO set curdrv=%%~dpV && start "" %curdrv%Oneup.bat in the Target of the shortcut, but it doesn't work. David Reply Kate says: 28 December 2014 at 00:56 Thanks a bunch for the tip, David!

This way I can move these folders anywhere on the drive or another drive and the shortcut still works. Why is the correct spelling "eating" and not "eatting"?