例 次の例では、 メソッドを GetEnvironmentVariable 使用して、Windows ディレクトリのパスを含む環境変数を取得 windir します。 using namespace System; using namespace System::IO; void main() { if (Environment::OSVersion->Platform == PlatformID::Win32NT) { // Change the directory to %WINDIR% Environment::CurrentDirectory = Environment::GetEnvironmentVariable( "windir" ); DirectoryInfo^ info = gcnew DirectoryInfo( "." ); Console::WriteLine("D
Windows の環境変数についてです。環境変数には、システム環境変数とユーザー環境変数の 2 種類があります。 これらは、レジストリの以下の場所に格納されています。 システム環境変数 HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment ユーザー環境変数 HKCU\Environment もちろん、画面でも表示できます。 レジストリに書きだしているわけですから、永続化された情報になります。 コマンドプロンプトを開き、set と入力しても環境変数を表示することができます。 ユーザーが Windows にログオンすると、シェルが起動され、環境変数を読み込みます。 その際、読み込む初期値が、このレジストリにエントリーされている値というわけです。 環境変数って API で参照/設定できないの?って疑問がありますが、Wi
An extensible, customizable, free/libre text editor — and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. The features of GNU Emacs include Content-aware editing modes, including syntax coloring, for many file types. Complete built-in documentation, including a tutorial for new users. Full Unicode support for n
xrdp an open-source Remote Desktop Protocol server View on GitHub View xrdp releases View xorgxrdp releases Overview xrdp provides a graphical login to remote machines using RDP (Microsoft Remote Desktop Protocol). xrdp accepts connections from variety of RDP clients: FreeRDP, rdesktop, NeutrinoRDP and Microsoft Remote Desktop Client (for Windows, macOS, iOS and Android). As Windows-to-Windows Rem
xubuntu 10.04.2をmac mini(power PC)にインストールして、段階的に12.04までアップデートしました。 10.04.2の段階で、システム>システム管理>言語サポートから日本語パッケージを追加して、日本語表示、入力ができるようにしました。 以下のURLを参照してxrdpをインストールしました。 http://scarygliders.net/2011/11/17/x11rdp-ubuntu-11-10-gnome-3-xrdp-customization-new-hotness/ そのままではWindows 7のリモートデスクトップ接続で接続すると、エラーが出て強制的にログアウトしてしまうので、/home/hogehoge(ユーザー名)に以下の内容の.xsessionファイルを作成することで接続できるようになりました。 xfce4-session /etc/xr
xrdp 0.5.0 の日本語キーマップ LinuxクライアントからLinuxホストに繋ぐのに、GUIなら VNC、が普通の発想だろうけど、これが結構面倒で遅い。どういうワケかWindowsのリモートデスクトップ接続をエミュレートしたxrdpというサー バーホストとrdesktopというクライアントソフトで繋ぐと簡単で早い。 問題は日本語キーマップ。クライアント(rdesktop)側でいくら日本語キーマップに設定しても、まるでダメ。サーバー側で設定しなければならない んだ。簡単な方法としては、 サーバーマシンの /etc/xrdp に km-0411.ini km-e0010411.ini km-e0200411.ini km-e0210411.ini という4つのファイルを入れてやると、日本語キーボード対応になる。 ダウンロード References 1) [Xrdp-devel] Ke
利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。 メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。 別スレッドでXubuntuにxrdpをインストールした環境について質問しましたが、環境がおかしくなってしまいました。 再度10.04からアップデートしていく気力がないので、LUbuntu 12.04を新規にインストールしました。 マシンはMacmini PowerPCです。 OSのインストール自体は問題なく終了して、Ubuntuソフトウェアセンターがインストールされていないので synapticマネージャの検索でsoftware-centerと打ち込んでインストールしました。 Ubuntuソフトウェアセンターからxrdpのバージョン0.5をインストールして、Windows 7 Home
All Microsoft Global Microsoft 365 Teams Copilot Windows Surface Xbox Deals Small Business Support Software Windows Apps AI Outlook OneDrive Microsoft Teams OneNote Microsoft Edge Skype PCs & Devices Computers Shop Xbox Accessories VR & mixed reality Certified Refurbished Trade-in for cash Entertainment Xbox Game Pass Ultimate PC Game Pass Xbox games PC and Windows games Movies & TV Business Micro
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く