Sorry, I don't read German very well. Is there an English translation of that page? I can probably follow along well enough to figure this out, but it will be easier in English.
Thanks,
LMHmedchem
Search found 7 matches
- 22 Nov 2013 15:53
- Forum: DOS Batch Forum
- Topic: bat file to add/remove a drive letter
- Replies: 4
- Views: 6525
- 22 Nov 2013 12:21
- Forum: DOS Batch Forum
- Topic: bat file to add/remove a drive letter
- Replies: 4
- Views: 6525
bat file to add/remove a drive letter
Hello again, Lately, I have been keeping my internal backup partition unmounted. This means that I have gone into the disk manager and removed the drive letter. I would like to modify my backup script to re-assign a drive letter to the backup drive, run the backup, and then remove the drive letter. ...
- 04 Sep 2013 18:29
- Forum: DOS Batch Forum
- Topic: DOS bat file to toggle two additions to windows path
- Replies: 10
- Views: 8941
Re: DOS bat file to toggle two additions to windows path
I notice in your script that you enclose the value you assign to PATH in quotes, set "PATH=C:\cygwin2\bin;%PATH%" where the examples I was working with did not have the quotes, SET PATH=C:\cygwin\bin;%PATH%; (I removed the spaces as you suggested). I don't see any differences in the output...
- 02 Sep 2013 22:59
- Forum: DOS Batch Forum
- Topic: DOS bat file to toggle two additions to windows path
- Replies: 10
- Views: 8941
Re: DOS bat file to toggle two additions to windows path
If I understand your post, when a cmd shell is opened, it gets a set of environment variables from entries in the registry. I believe the same is true when you start an instance of bash running in a mintty terminal. The path will contain only what is currently in the registry. If I start a cmd shell...
- 27 Aug 2013 14:59
- Forum: DOS Batch Forum
- Topic: DOS bat file to toggle two additions to windows path
- Replies: 10
- Views: 8941
Re: DOS bat file to toggle two additions to windows path
Every cmd session has it's own environment, which can be modified and it doesn't affect any other cmd session, new or old. I found this in another group, "As it is: no. Unix shells work like that, but DOS doesn't. In fact, when you set a variable in a DOS batch file its value stays until you s...
- 26 Aug 2013 23:12
- Forum: DOS Batch Forum
- Topic: DOS bat file to toggle two additions to windows path
- Replies: 10
- Views: 8941
Re: DOS bat file to toggle two additions to windows path
This appears to work. It is hard to tell if the correct directory has been added to the path since cygwin truncates it to some extent. I am wondering what happens if I have a mintty terminal open using the bat file you described and then open another terminal from it's normal shortcut. Is the path c...
- 25 Aug 2013 23:50
- Forum: DOS Batch Forum
- Topic: DOS bat file to toggle two additions to windows path
- Replies: 10
- Views: 8941
DOS bat file to toggle two additions to windows path
Hello to the forum, I have two different installs of the cygwin linux tool kit. The starting point for this tool kit is to open a bash shell in a mintty terminal. This is done with a shortcut with the following target, C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico - In order for things to work pr...