w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » WINDOWS » Page 1
Testing App on Windows Phone
Since you don't have developer account you can deploy app for limited time and you can deploy max 3 apps at once. If you have developer account then time period increases and you can deploy 10 apps at once.

Categories : Windows

Set proxy through windows command line including login parameters
IE can set username and password proxies, so maybe setting it there and import does work reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 1 reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /t REG_SZ /d name:port reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyUser /t REG_SZ /d use

Categories : Windows

Matlab bad performance under Jenkins
Solved by setting the LM_LICENSE_FILE environment variable in Jenkins node setup. (found a thread about slow startup) Apparently the shell environment started by Jenkins does not completely comply with the one started from explorer.

Categories : Windows

Batch File: Syntax for IF ELSE
@echo off rem set nltest query result to variable for /f "tokens=* delims=" %%# in ('nltest /server:ServerName123 /sc_query:branch') do ( set "nlquery=%%#" ) if "%nlquery%" equ "DCName01" ( echo Ponting to DCNAME01 with time and date >some.file ) else ( nltest /server:ServerName123 /sc_reset:branchDCName01 echo Changed to DCNAME01 with time and date >some.file ) edit

Categories : Windows

Environment variable not parsed correctly in when cmd-line being started from the explorer
Maybe I'm wrong, if so then sorry, but the real question should be Why I get the variable parsed correctly in one of the windows? The environment variables read operations from the registry are done in alphabetic order. Order is important. Once all variables has been read, REG_EXPAND_SZ variables are reprocessed so values depending on other variables can be expanded. But if you have a REG_EXPAN

Categories : Windows

How to preconfigure the Cygwin installation?
At first glance, You've specified the -l option but didn't provide a path. So when the installer looks for the ini file of packages, it cannot. I don't think this is McAfee related. Rather, have you tried specifying the local path?

Categories : Windows

Having trouble authenticating in Drush with SSL
Still new here...figuring this out. I should have done more research :p I found the answer here: AWS SSL security error : [curl] 60: SSL certificate prob...: unable to get local issuer certificate Once I'd downloaded the .pem file and saved it in a directory and referenced it from php.ini I was good to go.

Categories : Windows

how do I programmatically change icon of a Windows executable and Mac application?
There are solutions for doing this from the command line in both Mac and Windows. Mac defaults write /full/path/to/Info.plist CFBundleIconFile 'app/img/my-icon.icns' Windows Requires winresourcer winresourcer --operation=Update --exeFile=path/to/my-exe.exe --resourceType=Icongroup --resourceName:1 --resourceFile:path/to/my-icon.ico To find

Categories : Windows

Jenkins slave locations
It depends on what connection method you're using in your slave configuration, but Jenkins should usually keep the slave configuration even if a slave goes offline. This URL will give you a list of all your slave names with their online status: JENKINS_BASE_URL/computer/api/json?tree=computer[displayName,offline] But the REST API won't show you the hostname. Here is some Groovy code that will

Categories : Windows

Getting information about the logical processors in windows XP SP0 (like GetLogicalProcessorInformation )
To determine number of logical processors in the Windoes XP SP0 system you may use GetSystemInfo function. dwNumberOfProcessors member of the SYSTEM_INFO struct contains number of logical processors. For further reading I recommend nice answer by Billy ONeal in this question. Note: As pointed by Jonathan Potter, support for Windows XP has ended!

Categories : Windows

Use windows command line to copy files that match, with exceptions?
for /f "delims=" %%a in (' dir /a-d /b /s "h:filesRC*.pdf" ^| findstr /r /i /e /c:"\RC[^SC][^\]*.pdf" ') do copy "%%a" h: c Use dir command to enumerate all the RC*.pdf files, and use the findstr command to filter this list, removing the non needed files

Categories : Windows

How to uniquely identify a control within a window?
pywinauto automation framework is able to identify control by index like app.SomeDialog.ChildWindow(class_name='Button', ctrl_index=0).ClickInput() which is persistent for each concrete moment if test sequence is deterministic. Also it allows more complicated matching criteria: app.SomeDialog.ChildWindow(title='&Next', class_name='Button', parent=SomeViewContol, predicate_func=SomeFunc).ClickI

Categories : Windows

How to open all mp3 files using windows command line?
I am wondering, why it is opening your mp3 file with the cd command. The cd command is used to switch directories, so this is something new for me. I am a MAC OS user, so I could not test it, but if your given example worked, I think this should work too: cd C:UsersmktDesktopMusicToolLateralus*.mp3 With the "*.mp3" you say, every mp3 file. I hope this helps.

Categories : Windows

Feed in a list of find and replace values with batch
This type of text replacements are slow and prone to fail when performed via a Batch file. I wrote FindRepl.bat program that is a Batch-JScript hybrid script that not only run much faster and with no errors, but it also allows to perform the multiple replacements you are looking for in just one processing pass of the data file. JScript is a programming language that is included in all Windows vers

Categories : Windows

How to create workspace using command line perforce
Here is our documentation on how to create a workspace from the command line using the 'p4 client ' command: http://www.perforce.com/perforce/doc.current/manuals/p4guide/chapter.configuration.html#DB5-17566 REFERENCES http://answers.perforce.com/articles/KB_Article/How-to-Script-Client-Workspace-Cloning http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html http://www.perf

Categories : Windows

How can I see or view the pathname which I recently have made?
I have figured this out with a friend of mine. You can use this [Environment]::GetEnvironmentVariable("Path") to see your whole pathname. With [Environment]::SetEnvironment("Path", "$env:Path;C:Python27" ( you are making a pathname with the name "Python27") if you want to replace it you can use this: Replace: $env:Path.Replace("C:Python27", "C:TEST2") If you want to remove something with

Categories : Windows

Powershell passing variables to a job
You are passing $_ to the ArgumentList parameter but I don't see anywhere in where you code where there is a pipeline active - hence $_ is not defined. To pass variables to the job, specify valid variables in the ArgumentList e.g.: $foo = 'foo' $bar = 'bar' Start-Job {param($a, $b) "a is $a, b is $b"} -Arg $foo,$bar | Receive-Job -Wait

Categories : Windows

How to use server IP as proxy
Just entering the server address on client side isn't sufficient. You need to set up your server to behave as a proxy server using something like squid or other alternative.

Categories : Windows

Windows Security Alert when HTTP server is created in Node.js
Allow access to that application through the Windows Firewall: Go to: "Control Panel > System Ecurity > Windows Firewall > Advanced Settings". Create new rule. Select "Port" and press "Next". Allow TCP and port your are attempting to expose (default 3000, you might want to expose 80), and press "Next". Select "Allow the connection" and press "Next". Check all: Domain, Private, Pub

Categories : Windows

Windows: compare files in folders and delete non existent
@echo off setlocal enableextensions disabledelayedexpansion set "folder=c:folder1 aw" for %%a in ("%folder%*") do ( dir /a-d "%%~dpa..\%%~na.*" >nul 2>&1 || echo del "%%~fa" ) for each file in the indicated folder if a file with the same name does not exist in the parent folder, remove from child (dir command is used instead of if exists to avoid false positiv

Categories : Windows

Network latency monitoring script windows
@echo off for /f "tokens=3 delims=," %%# in ('ping -n 8 173.194.44.131 2^>nul^| findstr /i "loss average"') do ( set "%%#" ) for /f "tokens=1 delims= " %%a in ("%Average %") do echo average-%%a for /f "tokens=2 delims=() " %%a in ("%Lost %") do echo loss-%%a On the last two lines you can change the output - the %%a is the value loss and average are the clarification strings.And you can

Categories : Windows

sublimeREPL for python not showing complete Traceback
I've found the answer by posting this question. The problem was in the path of the file - it contains an accent in the word "Análisis". I changed that and know its working. It used to work when I had my OS language set to spanish. I set my new installation to english and now it was giving me troubles. I really didn't expected that, shame on you Windows x(.

Categories : Windows

How to load a stacktrace into Visual Studio 2013 for offline debugging?
You should see a crashdump somewhere, a .dmp file. You can export that through sysinternals PrcessExplorer, not sureif that's possible with the default task manager, but that's of course before the crash. I unfortunately don't know anymore how to force a process to generate a .dmp file on crash.. But once you have the .dmp file, you can open it in VS (I think since 2010, maybe 2012). There are tw

Categories : Windows

Install Windows Sample port monitor localmon (Win7 32-bits) from VS2013 Update 4
In the deployment property page, under the "Install and Verify" option, there is a text box where you can add text. That's where you should supply the printer model name. If you can't see that text box, you might want to resize the property page to increase its height. I seem to remember that there was an issue in WDK 8 where there would be no vertical scroll bar on that property page, even thoug

Categories : Windows

Can't connect to admin console using Virtualbox
Is there not another (perhaps windows) service running on that port? Try to run netstat -a -b from the command line to find out. TCPview is another great tool you could use.

Categories : Windows

Cant start *.exe with *.bat file, yet it will start if command is run from CMD directly
TASKKILL /F /IM ncat.exe* /T >nul 2>nul ping localhost -n 3 >nul regedit /S c: catprintingPuttyDefaults.reg cd c: CALL ncat_lpt1.BAT timeout /t 10 /nobreak >nul Change the name of C: cat_lpt1.exe to ncat_lpt1.bat (from the prompt, ren C: cat_lpt1.exe ncat_lpt1.bat ) @ECHO OFF cd c:Program Files (x86)Ncat ncat.exe -l -k -p 5964 > lpt1 Windows uses the extension to the filename

Categories : Windows

Unity: Export options for Windows
Is there a way so that I can export the complete game as a executable or manage the structure of the dependencies on my own? As far as I know, you cannot configure how a Unity app is built. You could try using a packager application that takes the build directory and generates a single executable file, as described in this question: http://superuser.com/questions/749447/creating-a-single-f

Categories : Windows

Creating a Windows registry key with no default value (NOT blank) using AutoHotkey
Autohotkeys Build-in regwrite does as you said not seem to support a blank key. I did a little testing and here is something for you to try out If you leave ValueName blank the subkey's default value is used, if the sValue is omitted a blank/zero value is used. #SingleInstance force RegWrite("REG_SZ","HKCU","Environment estkey","","") return RegWrite(Type, RKey, SKey, ValueName="",sValue="")

Categories : Windows

Using FOR Loop and SC Query in CMD Script
@echo off setlocal enableextensions disabledelayedexpansion rem Initialize variables set "serviceName=" set "displayName=" rem Execute the query and retrieve all the SERVICE_NAME lines and rem the line with the desired display name for /f "tokens=1,*" %%a in (' sc query state^= all ^| findstr /i /l /c:"SERVICE_NAME" /c:"Adobe" ') do if not defined display

Categories : Windows

Run tool does not works
This is by design If more than two quote characters are present after the /C switch, then "behavior is to see if the first character is a quote character and if so, strip the leading character and remove the last quote character on the command line, preserving any text after the last quote character.", unless the following conditions are met: no /S switch exactly two quote characters no speci

Categories : Windows

I don't understand Windows IRQL
As someone above suggested it depends on the given OS implementation. If you have issues like this, the best is to use debugger. E.g. in win xp sp2 release i386 I have: hal!KfRaiseIrql: 806e43b8 0fb6d1 movzx edx,cl 806e43bb 0fb68a98436e80 movzx ecx,byte ptr hal!HalpIRQLtoTPR (806e4398)[edx] 806e43c2 a18000feff mov eax,dword ptr ds:[FFFE0080h] 806e43c7

Categories : Windows

How to get handle of popup window (WebdriverIO)
we not use getCurrentTabId to remember the handle of the currently open window? For example: var main, popup; //your window handles client .getCurrentTabId(function (err, handle) { main = handle; }) .newWindow('http://localhost:9001/') //you are on popup window .getCurrentTabId(function (err, handle) { popup = handle; }) .switchTab(main) //you are back to main window .sw

Categories : Windows

My command-line program does not find its config directory on CMD shell, but it does on PowerShell
This program apparently find its home from the command-line instead of calling GetModuleFileName. Unlike cmd, PowerShell doesn't use the lpApplicationName parameter of CreateProcess. Instead it modifies the command line to use the full path. For example, it replaces "oclHashcat64.exe" with "d:ProgramasHashCatOCLHashCatoclHashcat64.exe". In cmd you'd have to actually type out the full path. As a w

Categories : Windows

Boot2docker : image don't save
finally I resolve my problem: Solution I've made a boot2docker delete and then a boot2docker init, when I start/stop the VM it works correctly (and it starts faster Why : I don't know, the only possible reason is that I install boot2docker ant activate the VT-x in the BIOS after

Categories : Windows

Freepascal flushes stdout on every output under Windows?
To prevent flushing of Stdout, insert the following code snippets into your program: // Textrec is defined in sysutils uses sysutils; // ... // disabled flushing after each write(ln) on Output, do this at the start of the program Textrec(Output).FlushFunc:=nil; But be aware that this means that writelns might not be completed before the program ends. You can even accelerate the program fur

Categories : Windows

How do I add Ruby to the PATH variable on Windows?
Fear nothing, What you are doing is prepend C:Ruby200-x64in to the existing %PATH%, this is what the command you posted does. The path is a list of directories, separated by ;, in which the system will look for the command you execute. In your case it's: C:Ruby200-x64in %PATH%, if you print it on the command line, you'll find it's itself a list of directories separated by ;. In case you wa

Categories : Windows

Can we use Sencha Touch to develop an application runs on Windows as Windows Application
Your all the requirements are fulfilled by Sencha Touch. Sencha touch apps runs on windows desktop/browser and mobile(native and web) also. Ref: http://www.sencha.com/blog/sencha-touch-with-windows-phone-8 , http://www.sencha.com/blog/hello-sencha-touch-2-2/

Categories : Windows

why does cmd.exe in CreateProcess behaves different from DOS-prompt?
You've not shown code so we cannot diagnose this with 100% certainty. However, the likely cause is that your process is a 32 bit process running under the WOW64 emulator. When you create a cmd process under the emulator you get a 32 bit cmd process, also running under the emulator. You are comparing that with a 64 bit process. Do note that under the emulator, system32 is redirected to SysWOW64 by

Categories : Windows

split the string value stored in a variable by a batch file
Hmmm try this: For %%File in ("C:Program FilesCommon FilesMcAfeeEnginemferuntime20140409154525632.dat") do set file=%%File set file=%file:~10,17% set W=%file:~0,4% set X=%file:~4,2% set Y=%file:~6,2% set Z=%file:~8,6% Which worked perfectly for me.

Categories : Windows




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.