In my project i am using the btach file to start the exe file. This batch file is triiggered from an external source(may be another exe). It works as expected. But it opens a console. We don't want any conosole to displayed.  Is there any way where we can hide this console.  We tried with -- console suppress, could not get the desired results.
This is a batch file in Windows.  Here is my .bat file          @echo off copy "C:\Remoting.config-Training" "C:\Remoting.config"  "C:\ThirdParty.exe"   This works fine except the .bat file leaves the command window open the whole time the "ThirdParty" application is running. I need the command window to close.   I would use the short-cut for the application but I must be able to run this copy command first (it actually changes which data base and server to use for the application).    The ThirdParty application does not allow the user to change the source of the db or the application server.    We're doing this to allow users to change from a test environment to the production environment.
I have observed that in gedit if I edit a file, another file is created in the same directory (the one with the same filename and a tilde '~' suffix). The extra file remains even if I close gedit.  I understand the need for a temp file (eg. in case of a crash), but vim for example deletes the extra file it creates, when I close it.  Is there a way to do the same with gedit? Some configuration perhaps? and is such interpretation the norm?  When something went from 4 units to 8 units, most authoritative sources seem to agree with the use of "a two-fold increase", even though what was actually increased is more like "one-fold", i.e. the original quantity.  But if the "two-fold increase" is the correct usage, why most people seem to interpret "a 100% increase" the same thing? How to do "Files to store without compression" in 7-zip? Is there any way to selectively prevent certain file types from compression in 7-zip, like in WinRAR?  I'm trying to compress a huge folder (many gigabytes), and I don't want the already-compressed files (e.g. ZIP files) to be re-compressed -- they should be stored without compression. Why sometimes evidence is said to be too complex to compute and other times is negelected cause it is fixed? Is there a way to change the restrictions passcode on an iPhone without restoring the phone? I haven't forgotten the passocde; I just want to change it. Primes dividing $11, 111, 1111, ...$ What partitioning scheme do you recommend for a desktop? I've always created three or four primary partitions -- root, swap, home, and sometimes a separate boot partition. Ubuntu's default install offers LVMs. I've never had to add additional drives or space, so it never seemed like a big deal. Whenever I do a fresh install, though, I always think there might be a better way. Not every open set in $\mathbb{R}^n$, for $n\geq2$, is a disjoint union of countable open balls. I know that every open set in $\mathbb{R}$ can be decomposed as the union of countably many disjoint open intervals and I'm trying to show that this property no longer holds in higher dimensions. For this I'm trying to show that there is no countable, pairwise disjoint open balls whose union is the open square $(0, 1)^2 ⊂ \mathbb{R}^2$. I know that it is because of the corners, but I don't know how to write this in mathematical terms. Thanks for any help. How could C-3PO see Luke? What do we know about the Ainur who stayed in the Timeless Halls? Given the length ot the sides $a , b$ and $c$  of $ \triangle ABC$.  What is the length of the radius of the circumcribed circle?  After some formula substitution I came to the monster formula:  $$ \frac {a b c}{\sqrt{2a^2b^2+2a^2c^2+2b^2c^2-a^4-b^4-c^4}} $$  Can this formula be simplified? 50 hertz sine wave in oscilloscope when I touch it I bought a new PicoScope USB oscilloscope and noticed that when I touch the tip of the probe with my hand I see a 50&nbsp;Hz signal of 2 volts on the screen. What is causing this? (Or rather, how is the mains 50 Hz sine wave getting through me to the scope?) Replace arbitrary characters in the middle of an IP address string with sed I need to find and replace either one or two numerical characters in strings in a file.  The strings are IP addresses of the form:   10.xx.y.z    Where xx can be one or two characters.    I want to replace the xx with the single character 0, so I have  10.0.y.z    preserving the values of y and z.   The string may appear multiple times in the file.  What is the sed invocation to do this? What was the purpose of banning use/development of cloaking technology in Treaty of Algeron? The  prohibited the development or use of cloaking technology by the Federation. This treaty was a peace treaty and use of cloaking technology in one's own space couldn't disturb peace. Plus, the Romulans already had cloaking technology, so banning it was unfair for the Federation. So, why was this ban introduced?  Another thing: There were many things to ban, but why cloaking technology? How to integrate $\int\sqrt{x^2+1}dx$ $$\int\sqrt{x^2+1}dx$$ I've been attempting this problem for days and I've made very little progress. I understand that I should substitute $x=\tan(x)$ and $dx=\sec^2(x)dx$ but beyond that I am very much lost. Align multiline equation with expression after equal sign I am trying to align a multiline equation using array within the equation but it turns out it doesn't do very well. The code I am using is as follows:  \begin{equation}    \begin{array}{lcl} \mathcal{L}^{-1}\left\{f(d)\right\} &amp;= \mathcal{L}^{-1}\left\{f_1(\delta).f_2(\delta)\right\} \\ &amp; = exp(mt) \star \left\{\frac{l}{2\sqrt{\pi t^3}} exp(-l^2/{4t})\right\} \\ &amp; = F_1 * F_2 \end{array} \end{equation}   Can anyone suggest better way to deal with it ? Possible to do a MySQL foreign key to one of two possible tables? Well here's my problem I have three tables; regions, countries, states.  Countries can be inside of regions, states can be inside of regions.  Regions are the top of the food chain.  Now I'm adding a popular_areas table with two columns; region_id and popular_place_id.  Is it possible to make popular_place_id be a foreign key to either countries OR states.  I'm probably going to have to add a popular_place_type column to determine whether the id is describing a country or state either way. Manually installing a program on Debian I have installed Debian on my pc, but the problem is that at the moment I have no Internet connection to this pc. So, to install a program I have to manually downloaded from a pc with internet and then install it to the linux-debian computer.  The question is this: Is there a standard way to make the installation manually? Note that when I connect a usb flash with the program I want to install(that is:   cdparanoia_3.10.2+debian-10.1_i386.deb) and I try opening it I get the message:     Failed to execute child process “ar” no file or directory. What is the best filesystem to use cross-platform (Linux, Windows, OS X) which supports disk sizes of at least 2TB and file sizes >4GB?  I'm planning to use it on a USB drive on different computers.  Are there any filesystems that can be used on all the named OSes without installing additional drivers? What is the angle between those two matrices over $\mathbb{C}$? Let $\left&lt;\;,\;\right&gt;$ be an inner product defined by $\left&lt;A,B\right&gt;=$ tr$\left(A\overline{B}^{T}\right)$ over $M_n\left(\mathbb{C}\right).$  I am looking for the angle between: $$A=\begin{pmatrix}2+i &amp; 1\\-1&amp;0\end{pmatrix}\quad B=\begin{pmatrix}3-2i &amp; 1+i\\0 &amp; -i\end{pmatrix}$$  First we can see that:$$\overline{A}=\begin{pmatrix}2-i &amp; 1\\-1&amp;0\end{pmatrix}\quad \overline{B}=\begin{pmatrix}3+2i &amp; 1-i\\0 &amp; i\end{pmatrix}$$  $$\Downarrow$$  $$\overline{A}^T=\begin{pmatrix}2-i &amp; -1\\1&amp;0\end{pmatrix}\quad \overline{B}^T=\begin{pmatrix}3+2i &amp; 0\\1-i &amp; i\end{pmatrix}$$  And therefore:   $\left&lt;A,B\right&gt;=$ tr$\left(A\overline{B}^{T}\right)=\left(2+i\right)\left(3+2i\right)+1-i=5+6i$ $\left&lt;A,A\right&gt;=\left(2+i\right)\left(2-i\right)+1+1=7$ $\left&lt;B,B\right&gt;=\left(3-2i\right)\left(3+2i\right)+\left(1+i\right)\left(1-i\right)+1=16$   Now as the angle between any two vectors is defined we get that: $$\cos{\alpha}=\frac{\left&lt;A,B\right&gt;}{\Vert{A}\Vert\Vert{B}\Vert}=\frac{5+6i}{\sqrt{112}}$$  $$\Downarrow$$  $$\alpha = \;?$$  I didn't even know a complex number could be an image for the cosine function.  Thanks for any help.