![]() |
Re: [bat] und ExtractFilePath?
Zitat:
|
Re: [bat] und ExtractFilePath?
Es gibt auch noch diese Möglichkeit: %0 gibt ja den Namen der Batch-Datei an
und nun muß man dort nur noch das Verzeichnis rausfiltern.
Code:
@echo off
echo %%0 = %0 echo %%a~0 = %~a0 echo %%d~0 = %~d0 echo %%f~0 = %~f0 echo %%n~0 = %~n0 echo %%p~0 = %~p0 echo %%s~0 = %~s0 echo %%t~0 = %~t0 echo %%x~0 = %~x0 echo %%z~0 = %~z0 echo %%dp~0 = %~dp0 speziell das wäre dann wohl interessant echo %%nx~0 = %~nx0 pause |
Re: [bat] und ExtractFilePath?
Für alle die selbst lesen wollen
Aus der XP-Hilfe: Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:34 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz