When I'm double clicking on the uiautomatorviewer.bat file the command prompt opening and immediately closing itself.
Any help would be appreciated
You might have not set path variable or have multiple uiautomator.bat files like at two different instances.
Or can try to open from command line by navigating to drive path where bat file located and enter "uiautomatorviewer" Screenshot attached[https://i.stack.imgur.com/jh1mU.png]
I'm assuming you are not set the environment variable path, Please check if it is not please follow the instruction: http://www.automationtestinghub.com/setup-android-environment-variables/
Related
I have started to use Powerline for my terminal prompt and while I have gotten it all working I am not sure how to configure the segments. I have tried messing around with the files in the ~/.local/lib/python3.8/site-packages/powerline directory but nothing seems to be changing. I specifically want to remove the exit code extension so any help on that would be great.
Yes I have tried reading the docs but I couldn't understand what file to edit and where and what to change.
(I want to remove the red 1 segment shown here)
I have now discovered my issue. In order to reload the config you need to put the following in the terminal. I also moved my config files to ~/.config/powerline
powerline-daemon --replace
How do I stop Notepad++ from loading all files from the past session?
I know how to do that settings in Notepad++, but the problem is that I once opened a very large file (>10GB) and made the Notepad++ hang up. Notepad++ has already marked that big file in the session and therefore hang up everytime I start the Notepad++. Is there a way I can stop it from loading the past session so it won't hang up every time?
P.S. I have received a report on possible duplicate with this question. This is obviously a different case. At least in that question the notepad++ still starts up normally while in my case I cannot even change the settings normally because the notepad++ just hang while loading the stored version. The answer to this question also provide a good way to change the settings without starting Notepad++, which will be useful in fixing problems caused by settings when the Notepad++ cannot starts normally.
Yes, you can change that setting by modifying the config file.
go to %appdata%\Notepad++
and open config.xml
You should find the following line in there:
<GUIConfig name="RememberLastSession">yes</GUIConfig>
just change it to no and that should do the trick.
Start from command line:
notepad++ -nosession
"Auto-open previous files" then should be disabled
This is for those who do not want to modify the XML config filess, and this will also work without having the Notepad++ in PATH.
As I do not have enough reputation to comment on other answers, I'll add on Jacques Hubart's comment, all credits should still be for him.
Open Windows Run (Windows + R)
Type in the full path to the Notepad++ EXE.
This would normally be C:\Program Files\Notepad++\notepad++.exe
Add the nosession parameter
Run
Preview:
If, like me, you left a huge file in the last session, you can also remove just the offending file from the session and keep the rest.
go to %appdata%\Notepad++ and open session.xml
Scroll to the right to see the filename. Be careful to keep the integrety of the XML by removing the entire "file" node. It should be on a single line.
There is also another way from GUI
In Settings/Preferences/Backup uncheck the "Remember current session for next launch"
As suggested use notepad++ -nosession from run to open notepad++. Then go to preferences --> Backup --> Uncheck Remember current session before next launch
Close notepadd++ and open it normally without run. It worked for me.
another possibility is that the window is on an other screen not visible anymore due to starting it in a new multimonitor setup.
in that case, you have to bring the windows in the visible area by:
select the window by Alt+Tab
Alt+Space opens a small menu in the top left corner
Arrow-Down and Enter selects ' Move'
Arrows brings it back
I am new in Yii2 and execute project then display file listing instead of execute it self.
I put URl upto http://localhost/projectname/frontend/web but display listing in browsers.
What exactly issue did not found. Any one have a idea or suggestions.
Thanks in advance.
After you install the application, run the php init file with this command:
php init
more reference:
https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md
http://www.freetuts.org/tutorial/view?id=5
I'm using a command process in another program that for some odd reason does not have the system32 set in the path environment variable. I can use the %comspec% variable to get the path C:/windows/system32/cmd.exe, but I need to just have the folder by itself.
I am not overly familiar with command prompt programming; is there a way that I can just add the system32 (or equivalent) path programmatically?
What do you mean programmatically? If you're refering to a variable, there is no standard variable for system32. However you could use %WINDIR%\system32 or %systemroot%\system32.
While it appears that there is no environment variable for obtaining the system32 folder (or its equivalent) on a system, I did find a solution involving string manipulation. The following block of code will add the folder where the cmd.exe path is located:
SET str=%ComSpec%
SET str=%str:cmd.exe=%
SET PATH=%PATH%;%str%
It is very nice answer. i have tried and worked out. This problem comes with window7 OS probably.
SET str=%ComSpec%
SET str=%str:cmd.exe=%
SET PATH=%PATH%;%str%
How to automatically go to a hyperlink by batch processessing ?
I have good knowledge about batch processing but I dont know if anyone can open a specified link via .bat file...
EDIT: I want to make a batch file(.bat) and on double clicking on that I want to open a specified link in my browser..
So is it possible ? Plz help
You can try Wget for Windows - http://gnuwin32.sourceforge.net/packages/wget.htm, this works great.
We can do it with the help of:
"C:\Program Files\Internet Explorer\iexplore.exe" www.google.com
-courtesy of #Rainer.R