online 1
gast (50)

/ Forum / Webseiten/HTML

Webseiten/HTMLWebseiten/HTML

Fragevon fritz-franz vom 18.01.2020, 14:59 Options

Kommandozeile soll Webseite in FF starten?

Hallo,
die letzten beiden Zeilen sollen die Datei "Startseite.dat" (in Ordner auf Desktop) in "FirefoxLoader.exe" (liegt direkt auf Desktop) starten:

mkdir "%USERPROFILE%\Desktop\Firefox"
mkdir "%USERPROFILE%\Desktop\Profilordner"
xcopy Profilordner "%USERPROFILE%\Desktop\Profilordner" /E /H /V /Y
xcopy Firefox "%USERPROFILE%\Desktop\Firefox" /E /H /V /Y
xcopy FirefoxLoader.exe "%USERPROFILE%\Desktop" /E /H /V /Y
xcopy "Startseite.dat" "%USERPROFILE%\Desktop\Firefox" /E /H /V /Y
start "%USERPROFILE%\Desktop\Firefox\Startseite.dat" "%USERPROFILE%\Desktop\FirefoxLoader.exe" /MAX

Das Kopieren klappt wunderbar. Auch FF_Loader startet perfekt.
Leider wird dabei nicht die gewünschte Datei "Startseite.dat" angezeigt, sondern lediglich eine leere Seite.

Was mache ich falsch?

Gruß
Thomas


Antwort schreiben

Antwort 1 von Flupo vom 18.01.2020, 15:30 Options

Probiers mal mit

"%USERPROFILE%\Desktop\FirefoxLoader.exe" /MAX %USERPROFILE%\Desktop\Firefox\Startseite.dat

(alles in einer Zeile)
Um den Code etwas übersichtlicher zu gestalten würde ich ins Desktop-Verzeichnis wechseln und von hier aus arbeiten.


mkdir "%USERPROFILE%\Desktop\Firefox"
mkdir "%USERPROFILE%\Desktop\Profilordner"
xcopy Profilordner "%USERPROFILE%\Desktop\Profilordner" /E /H /V /Y
xcopy Firefox "%USERPROFILE%\Desktop\Firefox" /E /H /V /Y
xcopy FirefoxLoader.exe "%USERPROFILE%\Desktop" /E /H /V /Y
xcopy "Startseite.dat" "%USERPROFILE%\Desktop\Firefox" /E /H /V /Y
cd %USERPROFILE%\Desktop
FirefoxLoader Startseite.dat /MAX


Mit dem "normalen" FF geht es so.

Gruß Flupo

Antwort 2 von fritz-franz vom 19.01.2020, 18:26 Options

super, danke für die schnelle, kompetente Antwort ;-)

Gruß
Thomas

Ähnliche Themen

LAN-Gateway per kommandozeile ändern
AB-Berti  11.02.2007 - 95 Hits - 1 Antwort

tool zum eine webseite durchsuchen
spock121  04.12.2007 - 136 Hits -

Hinweis

Diese Frage ist schon etwas älter, Sie können daher nicht mehr auf sie antworten. Sollte Ihre Frage noch nicht gelöst sein, stellen Sie einfach eine neue Frage im Forum..

Neue Einträge

Version: supportware 1.9.150 / 10.06.2022, Startzeit:Thu Jan 8 21:07:44 2026