You are here

Laufwerksbuchstabe

9 posts / 0 new
Last post
Clone
Offline
Last seen: 16 years 6 months ago
Joined: 2007-08-29 04:52
Laufwerksbuchstabe

Hallo,
gibt es denn die möglichkeit, dass der Usb-stick auf jedem Computer den selben Laufwerksbuchstabe hat?
Oder gibt es da andere möglichkeiten?

Danke im vorraus!

Clone

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Smithtech

hat ein Tool das dafür sorgen sollte, dass der Buchstabe immer gleich ist.
Ich habs aber noch nicht ausprobiert.
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Clone
Offline
Last seen: 16 years 6 months ago
Joined: 2007-08-29 04:52
Danke, aber jetzt müsste

Danke, aber jetzt müsste mir jemand das Tool noch erklären...
Versteh nur Bahnhof...

Gruß
Clone

wk
wk's picture
Offline
Last seen: 9 months 4 days ago
Joined: 2007-09-05 12:31
Habe das hier

beim Stöbern gefunden, ich würde nur statt Laufwerksbuchstabe P den Buchstaben B wählen,der wird in der Regel nicht genutzt.

Submitted by SmithTech on April 2, 2007 - 8:57pm.

create a folder on your flash drive call it Subst it doesn't matter where on the flash drive.
copy subst.exe from \Windows\system32 into the subst folder you created.
create a batch file in the subst folder, call it addp.bat
in addp.bat add the following command.
subst.exe P: \
create a second batch file in the subst folder, call it removep.bat
in removep.bat add the following command.
subst.exe /d P:

run addp.bat to add the drive letter.
run removep.bat to remove the drive letter.

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

Dijaboro
Dijaboro's picture
Offline
Last seen: 1 year 4 months ago
Joined: 2007-04-19 02:49
Ausführen mit NSI

ich weiss, dass ich mit kanonen auf spatzen schiesse, aber ich habe versucht die batch in nsi nachzubaun. leider ohne erfolg. hat vielleicht einer eine idee was an dem code unten falsch ist ? subst würde im selben verzeichnis liegen wie die mit dem script erstellten exe.


WindowIcon Off
SilentInstall Silent
AutoCloseWindow TRUE
Name "SetDrive"
Caption "SetDrive 0.1"
OutFile "setdrive.exe"
Section "Main"
nsExec::Exec '"subst.exe" B:/'
SectionEnd

MarkoMLM
MarkoMLM's picture
Offline
Last seen: 8 years 4 months ago
DeveloperTranslator
Joined: 2006-01-16 04:08
Falscher Befehl ...

nsExec::Exec '"subst.exe" B:/' kann nicht funktionieren ...

der Befehl ist: subst.exe B: \
Um das in NSIS aufzurufen:
nsExec::Exec 'cmd /k "subst.exe B: \"'

Gruss
Marko

Paid for Software more or less?
What You need is OSS!

Dijaboro
Dijaboro's picture
Offline
Last seen: 1 year 4 months ago
Joined: 2007-04-19 02:49
thx a lot

funktioniert Smile

werd mal versuchen das schnell noch ins pa format zu bringen damit ich es sauber einbinden kann.

cu

Dijaboro

Dijaboro
Dijaboro's picture
Offline
Last seen: 1 year 4 months ago
Joined: 2007-04-19 02:49
Paket ist fertig

macht es sinn es in beta testing zu veröffentlichen?

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
warum nicht?

vieleicht brauchts wer...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments