Search found 8 matches
- 18 Apr 2022 09:55
- Forum: DOS Batch Forum
- Topic: Xcopy batch file that creates new folder
- Replies: 1
- Views: 5643
Re: Xcopy batch file that creates new folder
I'd use the date variable to create a UNIQUE backup everytime. If you want to just use numbers you could go like: @echo off ::assign new number :newnumber set /a counter+=1 if exist d:\data_%counter% goto :newnumber ::execute backup xcopy /e c:\data d:\data_%counter% So, if the folder data_1 already...
- 18 Apr 2022 09:44
- Forum: DOS Batch Forum
- Topic: open and pass multiple commands to other shell
- Replies: 5
- Views: 7174
Re: open and pass multiple commands to other shell
set path_to_java64=D:\java\bin set path_to_settings=D:\db\tools\DBeaver\mysettingsfolder set PATH=%path_to_java64%;%PATH% start dbeaver.exe -data "%path_to_settings%" As OJBakker wrote, just use the start command above. Using start without the /wait will continue the execution of the batch script a...
- 18 Apr 2022 09:33
- Forum: DOS Batch Forum
- Topic: Hello world! It's me and this is my RPG.
- Replies: 1
- Views: 4122
Re: Hello world! It's me and this is my RPG.
So, I'm adding some more info about the project. Actually, there are a few blocks of code running wich I want to describe: Data loading Basically all the variables used to create the items, the enemies and the world itself are stored in data files. These files are loaded on the init phase and, if th...
- 18 Apr 2022 08:58
- Forum: DOS Batch Forum
- Topic: xcopy error: Invalid number of parameters
- Replies: 5
- Views: 7019
Re: xcopy error: Invalid number of parameters
Still, both working for me.
What Windows version are you on? Do you have admin rights?
What Windows version are you on? Do you have admin rights?
- 17 Apr 2022 06:29
- Forum: DOS Batch Forum
- Topic: xcopy error: Invalid number of parameters
- Replies: 5
- Views: 7019
Re: xcopy error: Invalid number of parameters
I got questioned if "test" had to be a file or a directory.
But it worked indeed.
I use Windows 10
Puccilillo
But it worked indeed.
I use Windows 10
Puccilillo
- 12 Apr 2022 14:40
- Forum: DOS Batch Forum
- Topic: Batch running files remotely
- Replies: 5
- Views: 9172
Re: Batch running files remotely
You can run files on a remote machine with some tools like SSH, wich allows remote access and control.
As far as I know SSH in for servers, you should google OpenSSH.
As far as I know SSH in for servers, you should google OpenSSH.
- 11 Apr 2022 10:25
- Forum: DOS Batch Forum
- Topic: Showcasing the stuff I made over time
- Replies: 2
- Views: 5581
Re: Showcasing the stuff I made over time
I just played your snake and it is really cool.
Well done
Well done
- 11 Apr 2022 10:01
- Forum: DOS Batch Forum
- Topic: Hello world! It's me and this is my RPG.
- Replies: 1
- Views: 4122
Hello world! It's me and this is my RPG.
Hi everyone! This is my first post on the board. First, I want to say that this board has helped me a lot since now, cause I found many suggestions for my actual project. So first of all, thank you. Next, I want to share with you my project itself. Since it has no name yet, I named it Test RPG. It i...