Questions tagged as 'cmd'

1
answer

Error in java "Exception in thread" main "java.lang.NullPointerException" when compiling [duplicate]

The Exception in thread error "main" java.lang.NullPointerException locates it on line 21. Any ideas? class Factura{ private static final int MAX_ITEMS = 100; private String fecha; private String nombreCliente; private Item[] items = new It...
asked by 18.10.2017 / 17:12
2
answers

Edit by command line a txt file

I need to modify line 5 and line 15 in a .txt file by means of a .bat modifying the date of the day. The data to be modified would be the following: HostFile=BIBLIOTECA/ARCHIVOddmmaa PCFile=\servidor\carpeta\subcarpeta\ARCHIVOddmmaa In w...
asked by 22.08.2017 / 15:00
1
answer

CMD hide text when writing [closed]

way to encrypt or not display text when writing in CMD.     
asked by 28.06.2017 / 17:54
1
answer

Compile and run Java file without IDE: Error, main class not found

In my programming class we were asked to make a simple program and compile it, run it and create a .jar from the CMD in windows (WITHOUT IDE); which I still do not know how to do, because I always used Netbeans. The file path is:    C: \ J...
asked by 11.05.2017 / 03:00
1
answer

Moodle permissions from PHP and MySQL

Good morning. First of all I would like to clarify that I really do not know much about these issues. I installed XAMPP in Windows and I'm installing Moodle . In Moodle I get the following errors: mysql_full_unicode_support # File_for...
asked by 20.04.2017 / 18:47
2
answers

Close windows after 25 open hours

I have a specific program in Windows 7 that executes a certain process via a task scheduler, whose output is a simple web page that opens every 30 minutes. In this way I have just opened many windows of Internet Explorer which produce the satu...
asked by 23.03.2017 / 14:41
1
answer

Environment variables in .bat

I wanted to know how to create a PATH variable and another CLASSPATH in the environment but user variables, NOT OF THE SYSTEM in a .bat file if they are not created     
asked by 31.10.2016 / 14:10
1
answer

Open a folder on your computer with JAVA

In the following code I am creating a class which creates a folder in the computer and also adds a jPanel with different options, what happens is that when you press the START button you should open the folder, but I tried several ways without...
asked by 20.12.2018 / 00:15
0
answers

Open the most recent file in a network drive

Is there any way to perform this operation using the vlc? I already have the code that opens the last recent file in this case a file of both video and audio the mess is as follows: when doing this operation I use pushd since if I use...
asked by 16.11.2018 / 13:56
1
answer

Copy .sql files from the server to my pc by means of a batch

I have a scheduled task that makes BackUps of my database daily on the server and on my pc I have a bath that runs at a certain time by copying the sql files that are generated on the server and copying them on my pc. With the following code I m...
asked by 12.11.2018 / 18:46