Questions tagged as 'cmd'

1
answer

How to print any document by cmd?

Is there a way to print a document (preferably .docx or .pdf format) using a Windows cmd command line? I tried to use print but it results in an error that says "Unable to initialize USB002 device (printer)"     
asked by 08.06.2018 / 00:33
2
answers

.bat file does not execute

I have a file with the following command to turn off some machines on the network. FOR /F %i IN (C:\estacoes.txt) DO SHUTDOWN /s /t 01 /m %i Where stations.txt is a file with the names of machines to be turned off. When I open cmd and ru...
asked by 18.01.2018 / 19:31
1
answer

Create a Scheduled Task in Windows XP 32-bit

I want to create or modify a task by command line, this on the same machine. I'm using the Schtasks command with argument /Create . But I got only in Windows 8 when I took the BAT for the machine Windows XP (32-bit) did not...
asked by 22.03.2018 / 21:58
1
answer

I would like to know how do I leave my videos in this identical configuration in ffmpeg?

Format: MPEG-4 Format profile: Base Media Codec ID: isom (isom / iso2 / avc1 / mp41) File size: 202 MiB Duration: 22 min 9 s Overall bit rate: 1 278 kb / s Writing application: Lavf57.2.100 Video ID: 1 Format: AVC...
asked by 28.01.2018 / 01:12
1
answer

Automating deploy using MSBuild

I'm creating a batch to compile and publish a Visual Studio project using MSBuild . However, I need to enter a username and password for MSBuild . What I'm doing, is solitaire in bat the user and password. However, I would not lik...
asked by 29.11.2017 / 18:28
1
answer

How to create a .bat file that the ionic serves?

Good evening, I'm trying to create a .bat file to run the ionic serve, but I'm not getting good results and I need help! Here's what I did: cd C: \ Users \ ernetwork \ Desktop \ ERN_ADM \ install \ site \ project ionic serves but it does not...
asked by 29.09.2017 / 23:34
1
answer

Why is not my Menu working?

I'm creating a batch box to run a 1-line script that merges all text files into 1 only. But I do not understand why the routine is not working. Setup Batch Code@echooff:MenuEcho.Echo1-ComboMergerEcho.set/pop=Escolhaumaop‡Æo:GOTO:eofEcho...
asked by 16.09.2017 / 06:27
1
answer

Is there a way to change a default program by java, cmd, or regedit?

I'm developing a system in java, but from it I should change the default program to open .pdf on the switch. In Windows 10 it opens by default on the Edge, however from the system it should change to Adobe. I've already tried cmd with the ass...
asked by 28.05.2017 / 16:24
1
answer

Check mapped network drive size

I'm developing an application, and I need to check the free space on the mapped network drive, I can grab the contents of a file in the directory of my application, then I created a script to execute the command to check the free space in bat...
asked by 13.04.2017 / 21:38
1
answer

Ping by cmd in bat file [closed]

Oops, does anyone know why this happens? When I try to ping the cmd it works, but when I test for a .bat file it keeps on querying without stopping, infinitely and crashes ... can anyone help me?     
asked by 11.06.2017 / 00:19