
Ben.Hahlen
MemberContent Type
Profiles
Forums
Events
Everything posted by Ben.Hahlen
-
New Option for Installing Applications - W.A.I.T.
Ben.Hahlen replied to bryanh's topic in Unattended Windows 2000/XP/2003
New version is out!!! -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
Thanks . A few questions concerning this though: 1. does this return a variable that I can use to put in the registry entry? 2. what does the "popd" do? 3. Why is the "NUL" in "IF EXIST %%D:\NUL"? 4. What does the "USEBACKQ DELIMS==" do? Thanks again . -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
I actually thought of a batch script that could do it initially, but the problem is that I have NO CLUE whatsoever how to write such a batch. That's why I turned here . Since I'm not very good in all this scripting, batch-files, .exe files, and all that kind of stuff, please forgive me for the following question: Is it really hard to code/create a program/script/batch/whatever that searches drives for a tag-file (at root or at root\somefolder) and if found, makes the necessary registry corrections? (Not taking into account a computer with multiple users). -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
My Music and My Pictures are in My Documents, so they are also redirected. My Music used to be on a seperate drive though (so also redirected). -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
My Documents [.ShellClassInfo] IconFile=%SystemRoot%\system32\SHELL32.dll IconIndex=126My Music [DeleteOnCopy] Owner=Ben Personalized=13 PersonalizedName=My Music [.ShellClassInfo] InfoTip=@Shell32.dll,-12689 IconFile=%SystemRoot%\system32\SHELL32.dll IconIndex=-237My Pictures [.ShellClassInfo] InfoTip=@Shell32.dll,-12688 IconFile=%SystemRoot%\system32\SHELL32.dll IconIndex=127 [DeleteOnCopy] Owner=Ben Personalized=39 PersonalizedName=My Pictures The desktop.ini from my computer is probably different since I have been synchronizing between my desktop and laptop computer. -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
Anyone with an idea/suggestion? I could really use this Thanks in advance for the help -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
You've got it correct. It does not necessarily need to be run from cmdlines.txt though. As I indicated before, some users use the root of their partition as their Documents "folder", which would make the usage of %username% obsolete. As you said, prompting the user could be a good solution, but then it's almost the same as doing it after the install, manually. -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
The %username% will also not be used (I think), since, as you said, the Documents directory has been redirected to a different partition/drive. I think for a denominator I would use something like "my.doc", most users have a documents directory anyway before a reinstall, and it's not that hard to create a file. Furhtermore, the desktop.ini is a "super-hidden" file, so I think it would be hard to find it in the first place. Another thing is: desktop.ini files are scattered throughout your folders, especially if you've customized your folders with icons (like me). -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
The problems are though: 1. Some users have their documents in the root of a partition 2. I don't know how to create such a batch -
Reassigning drive letters automatically
Ben.Hahlen replied to mdes's topic in Unattended Windows 2000/XP/2003
Erm... Explain please? -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
Thanks for your answer Gnome, but it's not really what I meant. I'll try to explain better. I know that you can set user shell folders through these registry keys: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "Personal"="I:\\My Documents" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "My Pictures"="I:\\My Documents\\My Pictures" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "My Music"="I:\\My Documents\\My Music" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "My Video"="I:\\My Documents\\My Video's" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "Favorites"="I:\\My Documents\\Favorites" [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer] "Download Directory"="I:\\My Documents\\My Downloads" Now, what I would like to do, is to have a batch-file (or a program) search for the Documents folder, and then set automatically set these registry keys. I think it would have to be sth as being done with the %CDROM% variable when using RunOnceEx from cd, ie: FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i: Only here, it should look for a file (ie: my.docs) so that it can change the My Documents folder to that folder. So in a nutshell, it would be a program that would look for a file and then set the user shell folders accordingly. Would this be possible? -
My Documents folder through variable
Ben.Hahlen replied to Ben.Hahlen's topic in Unattended Windows 2000/XP/2003
Hey Gnome, I'm fine, how are you? How's your project going? Anyhow, it would be the user-My Docs folder. So the: Thanks for your help . -
Reassigning drive letters automatically
Ben.Hahlen replied to mdes's topic in Unattended Windows 2000/XP/2003
It seems to be working OK. 2 little messages pop up, but it doesn't influence the process: I have no clue why this pops up... Great to see that unspecified DVD/CD drives are automatically assigned to Z and Y Making a second-test run now, since it didn't work with the first try from cmdlines.txt, but that seems to be a problem from my end (corrupt download). EDIT: Second test just ended. It works perfectly now. I think a problem will exist for people who have two DVD's or two CD's in their computer, since it will assign one to the last letter specified, and the other to Z. But that's something that you can't fix, I think, since it's probably a limitation of the diskpart-program. Great work though -
Hey everyone, I was wondering whether it would be possible to set the My Documents folder through a batch file, in which the batch-file recognizes the My Documents folder by itself. I think it should be something like what we use to set the %CDROM% variable, but since I have no clue how to make those kind of things, I'm sort of counting on you guys . Example: The My Documents folder resides on a partition (I:\My Documents). The batch file would look for a file in the My Documents folder (ie: my.docs), from which it then would set a variable %documents% (or sth) that can be used to have the necessary registry-entries be made, so that it is not necessary to do that after the install anymore. I know this is possible through a registry-entry, but if you're installing on a different pc, the documents folder might be on a different drive, in a different folder, etc, which makes it inconvenient. Thanks in advance for the replies. Greetz, Ben.
-
Reassigning drive letters automatically
Ben.Hahlen replied to mdes's topic in Unattended Windows 2000/XP/2003
*bump* Anyone? -
Reassigning drive letters automatically
Ben.Hahlen replied to mdes's topic in Unattended Windows 2000/XP/2003
Once more this question, since no-one answered it. This happens also if you have Virtual Drives (that's how I tested it). So it's basically a problem if you have two DVD or CD-drives in your computer, I think. And mdes, your solution with %systemdrive%\temp worked EDIT: If in VMWare I set a second CD-drive, even with an image mounted, only one of them is assigned. Would it be possible to have the CD and DVD-drives to be assigned to Z and Y or sth? -
Reassigning drive letters automatically
Ben.Hahlen replied to mdes's topic in Unattended Windows 2000/XP/2003
How do I get MapDrive.cmd to run correctly from cmdlines.txt? I currently have "MapDrive.cmd ENU %TEMP% >%TEMP%\MapDrive.log" this in there, but it doesn't seem to work. What should I do to get it to run from cmdlines.txt? -
I think what Racingaprilla means is that his sycoc.inf is almost empty, except for some weird characters.
-
I tried an install, only that was after using the "manual" version of this util. WMP10 worked good, as far as I could see. The most important thing, at least for me, was that the Taskbar-toolbar also worked .
-
LOL, it's ok. I know that feeling .
-
File is uploaded again. Same URL as before.
-
I would need the file first to be able to update it .
-
I have upped my download-limit to 250 downloads per day. That should be enough, I think. 47 downloads and counting .
-
OK, it works now. Apparantly, the download-limiter made it unworkable. Since I was logged in myself, it worked for me. Removed the download-limit. Happy downloading .
-
hmz... That's weird... Does it give anything else next to the fatal error, or is it just that? Could you try again now (database-update) and otherwise please try from here and try the download link. If it still doesn't work, please let me know, then I'll put the direct link.