Often put some green small tools in the USB flash drive for use.
And created shortcuts (*.lnk) of these small tools in the USB flash drive.
Because different computers have different drive letter settings for the USB flash drive, it is quite troublesome to use these shortcuts. You must modify the target of the shortcut again to use it.
Now please ask experts to write a BAT that directly changes the target path of the shortcut.
Requirements:
1. First retrieve the current drive letter where the USB flash drive is located.
2. Modify the target of the shortcuts in the current folder. (This BAT is placed in the same folder as the shortcuts) (Actually, just modify the drive letter ----- change I:\*\ to g:\*)
And created shortcuts (*.lnk) of these small tools in the USB flash drive.
Because different computers have different drive letter settings for the USB flash drive, it is quite troublesome to use these shortcuts. You must modify the target of the shortcut again to use it.
Now please ask experts to write a BAT that directly changes the target path of the shortcut.
Requirements:
1. First retrieve the current drive letter where the USB flash drive is located.
2. Modify the target of the shortcuts in the current folder. (This BAT is placed in the same folder as the shortcuts) (Actually, just modify the drive letter ----- change I:\*\ to g:\*)

