Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

batch-file

Windows Batch Script to backup local MySQL databases & only keep N latest FOLDERS with backup files

November 19, 2022 by Magenaut

I am using adityasatrio’s batch file to backup local MySQL dbs and like to be able to only keep the 30 latest backup files. Using root:root for this example.

Categories MySQL, Q&A Tags batch-file, mysql, wampserver, windows Leave a comment

JDBC insert multiple rows

November 17, 2022 by Magenaut

I am now using batch:

Categories MySQL, Q&A Tags batch-file, java, jdbc, mysql Leave a comment

Batch-file for mysqldump to backup each database into a separate file

November 15, 2022 by Magenaut

Trying to create a batch (cmd) file for backing up each database into a separate file.
Databases are created/deleted often, so batch file needs to grab current db names everytime it runs and backup each one of them.

Categories MySQL, Q&A Tags batch-file, mysql, mysqldump, windows, windows-server-2008 Leave a comment

How do you run a .bat file from PHP?

October 20, 2022 by Magenaut

Can anyone tell me how to execute a .bat file from a PHP script?

Categories PHP, Q&A Tags batch-file, exec, php, system Leave a comment

change directory command cd ..not working in batch file after npm install

October 8, 2022 by Magenaut

I have the following command in one bat file.

Categories Node.js, Q&A Tags batch-file, node.js, npm Leave a comment

Global NPM package installed but command not found

October 7, 2022 by Magenaut

I have globally installed two npm packages “download” and “enigmavirtualbox” via command line:

Categories Node.js, Q&A Tags batch-file, node.js, npm, package, windows Leave a comment

“npm config set registry https://registry.npmjs.org/” is not working in windows bat file

October 5, 2022 by Magenaut

I create a.bat on windows 7, the content of a.bat is:

Categories Node.js, Q&A Tags batch-file, node.js, npm Leave a comment

How to execute a .bat file from node.js passing some parameters?

September 28, 2022 by Magenaut

I use node.js v4.4.4 and I need to run a .bat file from node.js.

Categories Node.js, Q&A Tags batch-file, javascript, node.js Leave a comment

Laravel 5.1 Task Scheduling on Windows

September 15, 2022 by Magenaut

I’m trying to get Laravel 5.1 Task Scheduling working on IIS. When I run a batch file using Windows task manager it will run the task one time only. How can I get ->everyMinute() to work?

Categories Laravel, Q&A Tags batch-file, cron, laravel, laravel-5.1, scheduled-tasks Leave a comment

How to automate “run asp.net website” from command line?

August 26, 2022 by Magenaut

Right now, I do the following manual steps to run an ASP.NET website on my PC:

Categories ASP.NET, Q&A Tags asp.net, batch-file, iis, iis-express, visual-studio Leave a comment
Post navigation
Older posts
Page1 Page2 Next →

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress