Questions tagged as 'windows'

2
answers

How do I run a subprocess with administrator permission?

I'm doing a script that accesses cmd of Windows, via subprocess . But I need to run cmd as an administrator. The solution I found is not satisfying to me, which would be to use runas . What I want to know is if there...
asked by 21.02.2014 / 22:01
1
answer

How to send variables to another page in Windows Phone 8?

I tried to follow this method , but an error occurs in MainPage, saying NavigationService does not exist in the current context. In BlankPage, the same error occurs in NavigationContext . How can I fix this? Do I need to imp...
asked by 17.08.2015 / 00:25
1
answer

Command to share the same folder with multiple names

I am currently working on an improvement in the deployment process and I would like to automate one of the new steps. Through Windows UI I can share the same folder on the network under several different names. At the command prompt there...
asked by 28.07.2015 / 20:43
1
answer

How to create a .BAT configuration file in windows?

I am automating some processes on a Windows server, and I would like to create some .bat files for this, but for that it would be necessary for the .BAT to be read from a configuration file so I did the following: file get.bat: @echo off set...
asked by 23.07.2015 / 15:13
2
answers

As I verify if a windows service is installed, if it is to start the service via batch file

I need to run a service for some processes, but first I need to verify that the service is installed. The commands I use to install and uninstall are as follows: %DIRServico%\SERVICO.EXE /INSTALL %DIRServico%\SERVICO.EXE /UNINSTALL If I...
asked by 13.04.2017 / 16:55
1
answer

How to create an endless process?

Simple question, how do I make my application process "unstoppable" by the system? I want when a user tries to close the application the message "Access is denied" appears, and when it forces the kernel to terminate the CRITICAL_PROCESS_DIED ker...
asked by 07.02.2016 / 00:50
3
answers

Why is Vagrant not synchronizing folders?

I'm using: Windows 8 64 bits Vagrant 1.7.2 Virtual box 4.3.28 GitBash 1.9.4 para conexão SSH Box Ubuntu 14.04.02 Trusty 32 bits Box Ubuntu 14.04.02 Trusty 64 bits I'm developing with Ruby on Rails, but I can not edit the generated files...
asked by 13.05.2015 / 21:56
2
answers

Install Image Magick (imagick)

I have a local web server that uses Windows Server 2008 R2, IIS7 is the web services manager. I installed an application that needs to convert PDF to JPG, but for this I need Imagick to be properly installed and configured in PHP on hosting se...
asked by 06.07.2015 / 19:19
1
answer

start server with vagrant on windows using git bash

As seen in the log below when starting the server such error occurs. Dei install and in sequence I tried to start the server. => Booting WEBrick => Rails 4.1.1 application starting in development on http://0.0.0.0:3000 => Run 'rails...
asked by 19.11.2014 / 03:53
1
answer

Error creating Java Virtual Machine

I was running an rmi application in Eclipse Luna and the following message appeared:    "Could not create the Java Virtual Machine . A fatal exception has occurred. Program will closed. ". The operating system used is Window...
asked by 18.06.2015 / 00:03