Windows 10: mozbackup failing in batch file

Discus and support mozbackup failing in batch file in Browsers and Email to solve the problem; I know that the author is no longer supporting mozbackup. But I'm experiencing a problem that I thought perhaps someone has found a fix for. I run... Discussion in 'Browsers and Email' started by amcgall, Mar 23, 2019.

  1. amcgall Win User

    mozbackup failing in batch file

    I know that the author is no longer supporting mozbackup. But I'm experiencing a problem that I thought perhaps someone has found a fix for.

    I run mozbackup from a batch file with a single line of code: MozBackup.exe default.mozprofile

    default.mozprofile contains instructions telling mozbackup where to store the backup file and other settings.

    The problem I'm having is that after a Windows 10 update a few months ago mozbackup ignores the instructions file. Prior to the update it was working fine under Windows 10.

    I tried running it in compatibility mode but it's still ignoring the instructions file (default.mozprofile).

    amcgall, Mar 23, 2019
  2. oily_17 Win User

    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
    oily_17, Mar 23, 2019
  3. Batch Files Knowledge Base

    Very nice and usefull thanks for contributing.
    AphexDreamer, Mar 23, 2019
  4. fahnix Win User

    mozbackup failing in batch file

    Batch files fail pathing and [%04d]

    1 When running in Administrator mode batch files automatically take on the Windows\System32 folder unless a prefix is added to the top of the file.

    command example: copy file1.txt "C:\Users\Public\Test\."

    result copies file in current folder to "C:\Users\Public\Test\file1.txt"

    result from batch file as admin is an error stating "File not found" because Admin mode attempts to call commands listed in file from [Windows\System32] folder.

    include [cd %~dp0] at top of batch file to ensure commands run from the folder the batch file resides in.

    2 When running ffmpeg.exe in one folder and writing files to another folder from a batch file Windows automatically pastes the entire path and the batch file name prior to every attempted file write.

    ffmpeg command example :

    bin\ffmpeg.exe -i "C:\Users\JoeMatize\Videos\Logitech Webcam\video 3.wmv" -r 15 "frames-%04d.bmp"

    then windows creates 15 frames per second naming files [frames-0001.bmp] through [frames-0015.bmp] for the 1st second and continuing through the entire file

    But ffmCmd.bat file contains the command attempts to create the output file as...


    ffmpeg fails when it is unable to acquire a new name for the sequential files.

    is there another command that will fix the batch call to ffmpeg, like the one that fixes the administrative mode path?

    When will Microsoft fix the batch files so they work consistently across the board?
    fahnix, Mar 23, 2019

mozbackup failing in batch file

  1. mozbackup failing in batch file - Similar Threads - mozbackup failing batch

  2. Batch Folder and Batch File/Move Software

    in Windows 10 Software and Apps
    Batch Folder and Batch File/Move Software: Looking for recommendations for software that handles automatic batch folder creation according to defined rules. Also looking for software that handles automatic file and folder moving into more than one directory according to selection criteria (size, date, extension,...
  3. batch file

    in Windows 10 Network and Sharing
    batch file: I want a BAT file to be executed when a USB plugged in to the PC. How can I do it?"
  4. Microsoft Batch Files

    in Windows 10 Customization
    Microsoft Batch Files: Hello Folks! Can someone help me create a batch script with the below basis? Stop a Windows service and if the service doesn't stop successfully it will do the taskkill to force stop and then restart the service afterwards. I can do the Stop and start command but I...
  5. Media / Batch Files

    in Windows 10 Installation and Upgrade
    Media / Batch Files: Hello Microsoft, and other people viewing this post / question. There is no possible way (except with SOUND.exe, only compatible with old versions of Windows) to run media without the media player showing up. Microsoft, if you're reading this, if you make another version of...
  6. Batch File Problem

    in Windows 10 Support
    Batch File Problem: So I want to backup my saved game files after each time I play, as there is a bug after the latest patch that can delete your saves. Figured better to be safe then sorry. Now I found the following online and edited to my info... Code: @echo off cd "D:\Must Keep\Game & Other...
  7. Running an uneditable Batch file

    in AntiVirus, Firewalls and System Security
    Running an uneditable Batch file: Hi people, Got a task to run a certain CMD command on a number of PCs as administrator. So I thought i would create a batch file doing this. This is not the issue. The issue is that I am unable to lock down successfully so people cannot just edit the file to see the admin...
  8. Batch File Help

    in Windows 10 Software and Apps
    Batch File Help: I've never dabbled much in batch files, as I've usually been able to find pre-made ones to do what I wanted. We have an application that handles user data backups. It has three services, and at times, one or two of the three don't start automatically. If you stop and start...
  9. Startup batch file

    in Windows 10 Support
    Startup batch file: When Windows 10 starts, a DOS window appears, runs: C:\Users\Brian\AppData\Local\854e8f7.bat , then disappears. The .bat file contains: start "plqcknRlU67iM4TfEXQq" "%LOCALAPPDATA%\b183312\88d4f24.21b2bbd3" There are two files in C:\Users\Brian\AppData\Local\...
  10. Writhing Batch File

    in Windows 10 Support
    Writhing Batch File: Here is my batch file but it will not delete the file? Must be missing something *Sad del "C:\Users\Larry\AppData\Local\TractorParts\tractor\ConfigSetting" Trying to delete the ConfigSetting File 36240