Skip to content

Instantly share code, notes, and snippets.

@Sopor
Last active November 14, 2025 01:15
Show Gist options
  • Select an option

  • Save Sopor/2c33e249aaa4850bf588d0cebf2c7eda to your computer and use it in GitHub Desktop.

Select an option

Save Sopor/2c33e249aaa4850bf588d0cebf2c7eda to your computer and use it in GitHub Desktop.

Revisions

  1. Sopor revised this gist Jul 10, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion TransMac_Reset_Trial.cmd
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    - Open Notepad.
    - Copy everything from the below comment and paste it in Notepad.
    - Copy everything from the comment below and paste it in Notepad.
    - Press X to close Notepad, it will ask you to save the file.
    - Choose an appropriate name eg. TransMac_Reset_Trial.cmd

  2. Sopor revised this gist Jul 10, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion TransMac_Reset_Trial.cmd
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    - Open Notepad.
    - Copy everything from the above comment and paste it in Notepad.
    - Copy everything from the below comment and paste it in Notepad.
    - Press X to close Notepad, it will ask you to save the file.
    - Choose an appropriate name eg. TransMac_Reset_Trial.cmd

  3. Sopor revised this gist Jul 10, 2023. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions TransMac_Reset_Trial.cmd
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    1. Open Notepad.
    2. Copy everything from the above comment and paste it in Notepad.
    3. Press X to close Notepad, it will ask you to save the file.
    4. Choose a appropriate name eg. TransMac_Reset_Trial.cmd
    - Open Notepad.
    - Copy everything from the above comment and paste it in Notepad.
    - Press X to close Notepad, it will ask you to save the file.
    - Choose an appropriate name eg. TransMac_Reset_Trial.cmd

    You can place the file whatever you like as long as you have installed TransMac in default install path.
    You can place the file whatever you like as long as you have installed TransMac in the default install path.

    You can also put TransMac_Reset_Trial.cmd in the same directory as TransMac.exe and run it from there.
    This is useful if you want to put TransMac.exe in another path.
    This is useful if you want to put TransMac.exe in another path than default.
  4. Sopor revised this gist Jul 10, 2023. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion TransMac_Reset_Trial.cmd
    Original file line number Diff line number Diff line change
    @@ -1 +1,9 @@
    ...
    1. Open Notepad.
    2. Copy everything from the above comment and paste it in Notepad.
    3. Press X to close Notepad, it will ask you to save the file.
    4. Choose a appropriate name eg. TransMac_Reset_Trial.cmd

    You can place the file whatever you like as long as you have installed TransMac in default install path.

    You can also put TransMac_Reset_Trial.cmd in the same directory as TransMac.exe and run it from there.
    This is useful if you want to put TransMac.exe in another path.
  5. Sopor revised this gist Jul 10, 2023. 2 changed files with 1 addition and 18 deletions.
    1 change: 1 addition & 0 deletions TransMac_Reset_Trial.cmd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ...
    18 changes: 0 additions & 18 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,18 +0,0 @@
    ```
    @echo off

    REM TransMac_Reset_Trial.cmd by Sopor

    REG DELETE "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f

    timeout /t 2 /nobreak >nul

    if EXIST "C:\Program Files (x86)\TransMac\TransMac.exe" (
    start "" "C:\Program Files (x86)\TransMac\TransMac.exe"
    goto END
    )

    if EXIST "%~dp0TransMac.exe" start "" "%~dp0TransMac.exe"

    :END
    ```
  6. Sopor created this gist Jul 10, 2023.
    18 changes: 18 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    ```
    @echo off

    REM TransMac_Reset_Trial.cmd by Sopor

    REG DELETE "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f

    timeout /t 2 /nobreak >nul

    if EXIST "C:\Program Files (x86)\TransMac\TransMac.exe" (
    start "" "C:\Program Files (x86)\TransMac\TransMac.exe"
    goto END
    )

    if EXIST "%~dp0TransMac.exe" start "" "%~dp0TransMac.exe"

    :END
    ```