Search found 8 matches

by Puccilillo
18 Apr 2022 09:55
Forum: DOS Batch Forum
Topic: Xcopy batch file that creates new folder
Replies: 1
Views: 4762

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...
by Puccilillo
18 Apr 2022 09:44
Forum: DOS Batch Forum
Topic: open and pass multiple commands to other shell
Replies: 5
Views: 5247

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...
by Puccilillo
18 Apr 2022 09:33
Forum: DOS Batch Forum
Topic: Hello world! It's me and this is my RPG.
Replies: 1
Views: 3466

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...
by Puccilillo
18 Apr 2022 08:58
Forum: DOS Batch Forum
Topic: xcopy error: Invalid number of parameters
Replies: 5
Views: 5507

Re: xcopy error: Invalid number of parameters

Still, both working for me.
What Windows version are you on? Do you have admin rights?
by Puccilillo
17 Apr 2022 06:29
Forum: DOS Batch Forum
Topic: xcopy error: Invalid number of parameters
Replies: 5
Views: 5507

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
by Puccilillo
12 Apr 2022 14:40
Forum: DOS Batch Forum
Topic: Batch running files remotely
Replies: 5
Views: 6900

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.
by Puccilillo
11 Apr 2022 10:25
Forum: DOS Batch Forum
Topic: Showcasing the stuff I made over time
Replies: 2
Views: 4678

Re: Showcasing the stuff I made over time

I just played your snake and it is really cool.
Well done
by Puccilillo
11 Apr 2022 10:01
Forum: DOS Batch Forum
Topic: Hello world! It's me and this is my RPG.
Replies: 1
Views: 3466

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...