Przejdź do głównej zawartości

RWA - Run With Argument - 1.0

RWA1.0 - Run With Argument
small application that allows to run any other *.exe file with arguments...for some reasons it can be useful especially when working on HTC devices...

- argument is saved in config file that has the same filename as rwa.exe file but with extension: *.txt
(ex RWA.exe -> RWA.txt, AWR.exe -> AWR.txt, 123.exe->123.txt etc...)
that function allows to have multi RWAs in system, without conflicts...

- the config file is built as:
\Windows\tmail.exe
-t


so the first line is absolute path to file,
second line is argument that will be used when launching new process...


- run RWA with any argument to enable logger (weird he ?? that application allows to run other applications with argument... and I want You to run it with arguments... heh... ;) only for education purpose... )


12:45:39 _____________________NEW__ATTEMPT____________________
12:45:39 The Log filename is: RWA1log.txt
12:45:39 Trying to open Registry
12:45:40 RWA filename: RWA1.exe
12:45:40 RWA config filename: RWA1.txt
12:45:40 RWA1.txt config file exists... reading it...
12:45:40 process filename is: windows\notes.exe|
12:45:40 process file argument is: -n|
12:45:40 Trying to start process
12:45:41


LINK to XDA-Developers

cheers :D

Komentarze

Popularne posty z tego bloga

NetBeans and Trackpoint problem...

Netbeans doesn't allow (for some reasons) using native trackpoint + third blue button for scrolling through code view listing :/ that's annoying if You're not using mouse wheel ... I have Lenovo X200 and that was big problem for me... here is solution: open C:\Program Files\Lenovo\TrackPoint find tp4table.dat an edit it in Notepad++, add these lines, between similar lines: ; NetBeans support *,*,netbeans.exe,*,*,*,WheelStd,0,9 save the file, restart computer and voila... now Netbeans supports scrolling with Lenevo's trackpoint... tested with Netbeans 7.01 on win7 and default lenovo's trackpoint drivers

Angular2 + Moment.js library with Visual Studio 2017 .Net Core 2.0

Hey there! Recently I was facing problem with adding MomentJs library to Angular2 in .net core 2.0 project.  I'm using Visual Studio 2017 15.3.3.  ( https://www.visualstudio.com/pl/thank-you-downloading-visual-studio/?sku=Community&rel=15 ) Create new test project 2. Use Web -> Angular template  3. Compile and run in chrome to check that everything is ok.  4. Edit package.json. At the end of "dependencies" add new line:  "moment": "2.18.1" 5. Edit tsconfig.json file, At "compilerOptions" add: "allowSyntheticDefaultImports": true, 6. Edit home.component.ts and add: import * as moment from 'moment'; and the constructor.     constructor() {         try {             console.log("test");             let now = moment().format('LLLL');             console.log(now);     ...

GDI + Custom Controls with Visual C Sharp 2005

A fast-paced example-driven tutorial to building custom controls using Visual C# 2005 Express Edition and .NET 2.0. If you want to build custom controls with C# but you don't know where to start, or you are intimidated by the huge amount of information that needs to be absorbed, then this book is for you. This friendly tutorial is based on numerous examples with real-world applicability, and includes a case study featuring the development of a fully functional PieChart control. Showing you how to use the free Visual C# 2005 Express Edition environment to develop your controls, Building Custom Controls with Visual C# 2005 will teach you how to create professional, reusable custom controls for your desktop applications in no time. This book has been written with the intermediate C# developer in mind. Assuming a working knowledge of C#, the book teaches you how to implement custom controls using Visual C# 2005 Express Edition and all other versions of Visual C#, and GDI+ with .NET 2.0...