Helibob > 2022-09-25 04:13
joeNOR > 2022-09-25 16:04
@echo off
:: PUT THIS FILE IN THE QAP FOLDER ON THE USB DRIVE
:: ALWAYS START QAP WITH THIS FILE
:: Find and set the hexdecimal serial number of the drive volume, you find it with the "vol" command from the command line
:: ENTER SERIAL NUMBER BELOW, after the equal sign
set SN=ABCD-123F
:: Converts the hexadecimal serial number above to decimal for use with the wmic command
SET /A SN=0x%SN:-=%
:: System variable for the QAP drive letter
set "USBdriveQAP="
:: WMIC check
:: Use wmic to check what drive letter has the serial number
for /f %%D in ('wmic volume get driveLetter^, serialNumber ^| find "%sn%"') do set USBdriveQAP=%%D
:: Display an error if the drive letter is not detected.
if "%USBdriveQAP%"=="" goto errormsg
echo.
echo.
echo Keep this window open while QAP is running.....
QuickAccessPopup-64-bit.exe
goto end
:errormsg
echo.
echo.
echo NO DRIVE LETTER DETECTED!!
pause
:end
{QAPdrive}=%USBdriveQAP%
joeNOR > 2022-09-26 01:25
SET /A SN=0x%SN:-=%
joeNOR > 2022-10-01 10:14
DriveGet, var1, Serial, drive
Helibob > 2022-10-02 12:06
REM - CMD - minimiert starten
@ECHO OFF
IF NOT "%1"=="" GOTO %1
START /MIN CMD.EXE /C "%~NX0 START"
GOTO :EOF
:START
title start QAP
REM - Wechsel zum Pfad der aufgerufenen BAT-Datei
cd/d %~dp0
REM ----------------------------------------------
:: Set Variable with Drive Letter
set QAP-Drive=%CD:~0,3%
:: Mount Variable as Drive B:\
:: Usually available, without admin rights, without permanent change to the PC and allows the CMD window to be closed
subst B: %QAP-Drive%
:: Start QAP
start QuickAccessPopup-64-bit.exe
joeNOR > 2022-10-02 12:21
Helibob > 2022-10-02 13:45
(2022-10-02 12:21)joeNOR Wrote: …I haven't used an USB stick in ages, other than for reinstalling operating systems…I used it for data transfer - for example my PC for CNC in the workshop is offline and actually also without network.
(2022-10-02 12:21)joeNOR Wrote: …with changing drive letters. (the original question)…Sorry, my english is not so good, so I limited my text/question to the bare minimum.
joeNOR > 2022-10-03 01:16
Helibob > 2022-10-15 07:35
Jean Lalonde > 2022-10-16 11:03
Jean Lalonde > 2023-01-22 13:59
Helibob > 2023-01-28 02:43
{MH}={SETTINGS_DRIVE}\mh\filemanagment
Jean Lalonde > 2023-01-28 11:42
Helibob > 2023-01-29 04:17
Jean Lalonde > 2023-01-29 09:24
Jean Lalonde > 2023-01-29 13:16
Helibob > 2023-02-12 12:26
(2023-01-29 13:16)Jean Lalonde Wrote: I was wrong. In the next release, placeholders in user variables will be expanded.
Jean Lalonde > 2023-02-12 13:50
Helibob > 2023-02-12 14:48
(2023-02-12 12:26)Helibob Wrote: …error message if I ignore it, it still works in the pop-up menu…
Jean Lalonde > 2023-02-12 16:50
Jean Lalonde > 2023-02-12 16:59
Jean Lalonde > 2023-02-21 11:35
Helibob > 2023-03-07 11:12
(2023-02-12 16:59)Jean Lalonde Wrote: OK, I've found the bug. This error message appears only when you save the favorite but the favorite is OK after it is saved.
I'll fix the bug displaying this error message.
(I'll move this thread to the Support section and follow up there).
Helibob > 2023-12-17 05:30
Jean Lalonde > 2023-12-17 09:26